From: Nick Kew Date: Wed, 19 Mar 2008 20:46:11 +0000 (+0000) Subject: Document new ChrootDir directive (r611483) X-Git-Tag: 2.3.0~865 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=402ae82f5d525000452d906b5b59b673a1a71777;p=thirdparty%2Fapache%2Fhttpd.git Document new ChrootDir directive (r611483) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@639005 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mpm_common.xml b/docs/manual/mod/mpm_common.xml index 08774d506c1..37c4e9c80e6 100644 --- a/docs/manual/mod/mpm_common.xml +++ b/docs/manual/mod/mpm_common.xml @@ -1029,4 +1029,25 @@ requests + +ChrootDir +Directory for apache to run chroot(8) after startup. +ChrootDir /path/to/directory +none +server config +event +preforkworker + + +

This directive, available in httpd 2.2.9(?) and later, tells the + server to chroot(8) to the specified directory after + startup, but before accepting requests over the 'net.

+

Note that running the server under chroot is not simple, + and requires additional setup, particularly if you are running + scripts such as CGI or PHP. Please make sure you are properly + familiar with the operation of chroot before attempting to use + this feature.

+
+
+