]> granicus.if.org Git - apache/commitdiff
Document new ChrootDir directive (r611483)
authorNick Kew <niq@apache.org>
Wed, 19 Mar 2008 20:46:11 +0000 (20:46 +0000)
committerNick Kew <niq@apache.org>
Wed, 19 Mar 2008 20:46:11 +0000 (20:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@639005 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mpm_common.xml

index 08774d506c16f1c5dc672676fe11a96d9850182e..37c4e9c80e62511e59e09a4c957e7776e8b259bc 100644 (file)
@@ -1029,4 +1029,25 @@ requests</description>
 </usage>
 </directivesynopsis>
 
+<directivesynopsis>
+<name>ChrootDir</name>
+<description>Directory for apache to run chroot(8) after startup.</description>
+<syntax>ChrootDir <var>/path/to/directory</var></syntax>
+<default>none</default>
+<contextlist><context>server config</context></contextlist>
+<modulelist><module>event</module>
+<module>prefork</module><module>worker</module></modulelist>
+
+<usage>
+    <p>This directive, available in httpd 2.2.9(?) and later, tells the
+    server to <var>chroot(8)</var> to the specified directory after
+    startup, but before accepting requests over the 'net.</p>
+    <p>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.</p>
+</usage>
+</directivesynopsis>
+
 </modulesynopsis>