[deployment-guide/comm-rel: 532/727] Updated the PidFile directive description.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:09:40 UTC 2010


commit 2020d01a9b433701adca88564d080469a9df509a
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Tue Aug 31 17:05:22 2010 +0200

    Updated the PidFile directive description.

 en-US/The_Apache_HTTP_Server.xml |   32 +++++++++++++++++---------------
 1 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 0335ea4..932b412 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -908,7 +908,7 @@ ErrorDocument 404 /404-not_found.html</screen>
             </para>
             <screen>ErrorLog <replaceable>path</replaceable></screen>
             <para>
-              The <replaceable>path</replaceable> refers to a log file, and must be relative to the directory that is specified by the <option>ServerRoot</option> directive (that is, <filename class="directory">/etc/httpd/</filename> by default). The default option is <filename>logs/error_log</filename>
+              The <replaceable>path</replaceable> refers to a log file, and can be either absolute, or relative to the directory that is specified by the <option>ServerRoot</option> directive (that is, <filename class="directory">/etc/httpd/</filename> by default). The default option is <filename>logs/error_log</filename>
             </para>
             <example id="example-apache-httpdconf-errorlog">
               <title>Using the <option>ErrorLog</option> directive</title>
@@ -1621,6 +1621,22 @@ ErrorDocument 404 /404-not_found.html</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>PidFile</option></term>
+          <listitem>
+            <para>
+              The <option>PidFile</option> directive allows you to specify a file to which the process ID (PID) of the server is stored. It takes the following form:
+            </para>
+            <screen>PidFile <replaceable>path</replaceable></screen>
+            <para>
+              The <replaceable>path</replaceable> refers to a pid file, and can be either absolute, or relative to the directory that is specified by the <option>ServerRoot</option> directive (that is, <filename class="directory">/etc/httpd/</filename> by default). The default option is <filename>run/httpd.pid</filename>.
+            </para>
+            <example id="example-apache-httpdconf-pidfile">
+              <title>Using the <option>PidFile</option> directive</title>
+              <screen>PidFile run/httpd.pid</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
       <formalpara id="s2-apache-indexoptions">
         <title>IndexOptions</title>
@@ -1648,20 +1664,6 @@ ErrorDocument 404 /404-not_found.html</screen>
       <para>
         <command>IndexOptions</command> has a number of other parameters which can be set to control the appearance of server generated directories. The <command>IconHeight</command> and <command>IconWidth</command> parameters require the server to include HTML <command>HEIGHT</command> and <command>WIDTH</command> tags for the icons in server generated webpages. The <command>IconsAreLinks</command> parameter combines the graphical icon with the HTML link anchor, which contains the URL link target.
       </para>
-      <formalpara id="s2-apache-pidfile">
-        <title>PidFile</title>
-        <indexterm>
-          <primary><command>PidFile</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>PidFile</command></secondary>
-        </indexterm>
-        <para>
-          <command>PidFile</command> names the file where the server records its process ID (PID). By default the PID is listed in <filename>/var/run/httpd.pid</filename>.
-        </para>
-      </formalpara>
       <formalpara id="s2-apache-proxy">
         <title>Proxy</title>
         <indexterm>


More information about the docs-commits mailing list