[deployment-guide/comm-rel: 510/727] Moved the IfDefine and IfModule descriptions.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:07:47 UTC 2010


commit 09d22c7a80bb037181a807a0bfa2094819e875fa
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Sat Aug 28 15:01:52 2010 +0200

    Moved the IfDefine and IfModule descriptions.

 en-US/The_Apache_HTTP_Server.xml |   68 +++++++++++++++++++-------------------
 1 files changed, 34 insertions(+), 34 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 3238b9e..b9658c9 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -1047,40 +1047,6 @@ ErrorDocument 404 /404-not_found.html</screen>
           </listitem>
         </varlistentry>
       </variablelist>
-      <formalpara id="s2-apache-ifdefine">
-        <title>IfDefine</title>
-        <indexterm>
-          <primary><command>IfDefine</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>IfDefine</command></secondary>
-        </indexterm>
-        <para>
-          The <command>IfDefine</command> tags surround configuration directives that are applied if the "test" stated in the <command>IfDefine</command> tag is true. The directives are ignored if the test is false.
-        </para>
-      </formalpara>
-      <para>
-        The test in the <command>IfDefine</command> tags is a parameter name (for example, <command>HAVE_PERL</command>). If the parameter is defined, meaning that it is provided as an argument to the server's start-up command, then the test is true. In this case, when the Web server is started, the test is true and the directives contained in the <command>IfDefine</command> tags are applied.
-      </para>
-      <formalpara id="s2-apache-ifmodule">
-        <title>IfModule</title>
-        <indexterm>
-          <primary><command>IfModule</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>IfModule</command></secondary>
-        </indexterm>
-        <para>
-          <command>&lt;IfModule&gt;</command> and <command>&lt;/IfModule&gt;</command> tags create a conditional container which are only activated if the specified module is loaded. Directives within the <command>IfModule</command> container are processed under one of two conditions. The directives are processed if the module contained within the starting <command>&lt;IfModule&gt;</command> tag is loaded. Or, if an exclamation point <keycap>!</keycap> appears before the module name, the directives are processed only if the module specified in the <command>&lt;IfModule&gt;</command> tag is <emphasis>not</emphasis> loaded.
-        </para>
-      </formalpara>
-      <para>
-        For more information about Apache HTTP Server modules, refer to <xref linkend="s1-apache-addmods" />.
-      </para>
       <formalpara id="s2-apache-include">
         <title>Include</title>
         <indexterm>
@@ -1853,6 +1819,40 @@ ErrorDocument 404 /404-not_found.html</screen>
       <para>
         For this to work, permissions for CGI scripts, and the entire path to the scripts, must be set to 0755.
       </para>
+      <formalpara id="s2-apache-ifdefine">
+        <title>IfDefine</title>
+        <indexterm>
+          <primary><command>IfDefine</command></primary>
+          <secondary>Apache configuration directive</secondary>
+        </indexterm>
+        <indexterm>
+          <primary>configuration directives, Apache</primary>
+          <secondary><command>IfDefine</command></secondary>
+        </indexterm>
+        <para>
+          The <command>IfDefine</command> tags surround configuration directives that are applied if the "test" stated in the <command>IfDefine</command> tag is true. The directives are ignored if the test is false.
+        </para>
+      </formalpara>
+      <para>
+        The test in the <command>IfDefine</command> tags is a parameter name (for example, <command>HAVE_PERL</command>). If the parameter is defined, meaning that it is provided as an argument to the server's start-up command, then the test is true. In this case, when the Web server is started, the test is true and the directives contained in the <command>IfDefine</command> tags are applied.
+      </para>
+      <formalpara id="s2-apache-ifmodule">
+        <title>IfModule</title>
+        <indexterm>
+          <primary><command>IfModule</command></primary>
+          <secondary>Apache configuration directive</secondary>
+        </indexterm>
+        <indexterm>
+          <primary>configuration directives, Apache</primary>
+          <secondary><command>IfModule</command></secondary>
+        </indexterm>
+        <para>
+          <command>&lt;IfModule&gt;</command> and <command>&lt;/IfModule&gt;</command> tags create a conditional container which are only activated if the specified module is loaded. Directives within the <command>IfModule</command> container are processed under one of two conditions. The directives are processed if the module contained within the starting <command>&lt;IfModule&gt;</command> tag is loaded. Or, if an exclamation point <keycap>!</keycap> appears before the module name, the directives are processed only if the module specified in the <command>&lt;IfModule&gt;</command> tag is <emphasis>not</emphasis> loaded.
+        </para>
+      </formalpara>
+      <para>
+        For more information about Apache HTTP Server modules, refer to <xref linkend="s1-apache-addmods" />.
+      </para>
     </section>
     <section id="s2-apache-sslcommands">
       <title>Configuration Directives for SSL</title>


More information about the docs-commits mailing list