]> granicus.if.org Git - apache/commitdiff
- apply various table and formatting fixes, which halted the pdflatex run
authorAndré Malo <nd@apache.org>
Wed, 29 Jan 2014 13:28:10 +0000 (13:28 +0000)
committerAndré Malo <nd@apache.org>
Wed, 29 Jan 2014 13:28:10 +0000 (13:28 +0000)
- also add mod_filter_old.png (converted from .gif), required for inclusion in
  latex

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1562436 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/developer/API.xml
docs/manual/expr.xml
docs/manual/images/mod_filter_old.png [new file with mode: 0644]
docs/manual/mod/mod_alias.xml
docs/manual/mod/mod_proxy_ajp.xml
docs/manual/mod/mod_remoteip.xml

index ab9c5dd7072cd2073df71cd518f882d65ae3cdc3..45cd728b99c0aa17bd7d35d915942e44e3ee3e54 100644 (file)
@@ -387,7 +387,6 @@ int method_number;   /* M_GET, M_POST, <em>etc.</em> */
         <br />
 <pre>void *per_dir_config;   /* Options set in config files, <em>etc.</em> */
 void *request_config;   /* Notes on *this* request */</pre>
-        <br />
         };
       </example>
     </section>
index fcd1ea12804741f5ba40875afc14e093cc77067e..0d5a29cb00aa8d92704a6d2a69b4bd4e86b3172d 100644 (file)
   <title>Expressions in Apache HTTP Server</title>
 
   <summary>
-    <p>Historically, there are several syntax variants for expressions used to express
-        a condition in the different modules of the Apache HTTP Server.
-        There is some ongoing effort to only use a single variant, called <em>ap_expr</em>,
-        for all configuration directives.
-        This document describes the <em>ap_expr</em> expression parser.
+    <p>Historically, there are several syntax variants for expressions
+    used to express a condition in the different modules of the Apache
+    HTTP Server.  There is some ongoing effort to only use a single
+    variant, called <em>ap_expr</em>, for all configuration directives.
+    This document describes the <em>ap_expr</em> expression parser.
     </p>
     <p>The <em>ap_expr</em> expression is intended to replace most other
-        expression variants in HTTPD. For example, the deprecated
-        <directive module="mod_ssl">SSLRequire</directive> expressions can be
-        replaced by <a href="mod/mod_authz_core.html#reqexpr">Require expr</a>.
-    </p>
+    expression variants in HTTPD. For example, the deprecated <directive
+    module="mod_ssl">SSLRequire</directive> expressions can be replaced
+    by <a href="mod/mod_authz_core.html#reqexpr">Require expr</a>.  </p>
   </summary>
 
 <seealso><directive module="core" type="section">If</directive></seealso>
 
   <section id="grammar">
     <title>Grammar in Backus-Naur Form notation</title>
-      <p><a href="http://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form">Backus-Naur Form</a> (BNF) is a notation
-      technique for context-free grammars, often used to describe the syntax of languages used in computing.
+      <p><a
+      href="http://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form">Backus-Naur
+      Form</a> (BNF) is a notation technique for context-free grammars,
+      often used to describe the syntax of languages used in computing.
       In most cases, expressions are used to express boolean values.
-      For these, the starting point in the BNF is <code>expr</code>. However, a few directives
-      like <directive module="mod_log_debug">LogMessage</directive> accept expressions
-      that evaluate to a string value. For those, the starting point in the BNF is <code>string</code>.
+      For these, the starting point in the BNF is <code>expr</code>.
+      However, a few directives like <directive
+      module="mod_log_debug">LogMessage</directive> accept expressions
+      that evaluate to a string value. For those, the starting point in
+      the BNF is <code>string</code>.
       </p>
 <blockquote>
 <pre>
@@ -238,8 +241,9 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
         <td>The <directive module="core">DocumentRoot</directive> of
             the current vhost</td></tr>
     <tr><td><code>AUTH_TYPE</code></td>
-        <td>The configured <directive module="mod_authn_core">AuthType</directive>
-            (e.g. "<code>basic</code>")</td></tr>
+        <td>The configured <directive
+        module="mod_authn_core">AuthType</directive> (e.g.
+        "<code>basic</code>")</td></tr>
     <tr><td><code>CONTENT_TYPE</code></td>
         <td>The content type of the response</td></tr>
     <tr><td><code>HANDLER</code></td>
@@ -288,14 +292,16 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
         <td>The day of the week (starting with <code>0</code>
             for Sunday)</td></tr>
     <tr><td><code>TIME</code></td>
-        <td>The date and time in the format <code>20101231235959</code></td></tr>
+        <td>The date and time in the format
+        <code>20101231235959</code></td></tr>
     <tr><td><code>SERVER_SOFTWARE</code></td>
         <td>The server version string</td></tr>
     <tr><td><code>API_VERSION</code></td>
         <td>The date of the API version (module magic number)</td></tr>
     </table>
 
-    <p>Some modules register additional variables, see e.g. <module>mod_ssl</module>.</p>
+    <p>Some modules register additional variables, see e.g.
+    <module>mod_ssl</module>.</p>
 
 </section>
 
@@ -427,7 +433,8 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
             "<code>false</code>", or "<code>no</code>" (case insensitive).
             True otherwise.</td><td></td></tr>
     <tr><td><code>-R</code></td>
-        <td>Same as "<code>%{REMOTE_ADDR} -ipmatch ...</code>", but more efficient
+        <td>Same as "<code>%{REMOTE_ADDR} -ipmatch ...</code>", but more
+        efficient
         </td><td></td></tr>
     </table>
 
@@ -443,7 +450,7 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
     Modules may register additional functions.</p>
 
     <table border="1" style="zebra">
-    <columnspec><column width=".2"/><column width=".8"/></columnspec>
+    <columnspec><column width=".2"/><column width=".4"/><column width=".4"/></columnspec>
 
     <tr><th>Name</th><th>Description</th><th>Restricted</th></tr>
     <tr><td><code>req</code>, <code>http</code></td>
@@ -455,7 +462,9 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
     <tr><td><code>resp</code></td>
         <td>Get HTTP response header</td><td></td></tr>
     <tr><td><code>reqenv</code></td>
-        <td>Lookup request environment variable (as a shortcut, <code>v</code> can be used too to access variables).</td><td></td></tr>
+        <td>Lookup request environment variable (as a shortcut,
+        <code>v</code> can be used too to access
+        variables).</td><td></td></tr>
     <tr><td><code>osenv</code></td>
         <td>Lookup operating system environment variable</td><td></td></tr>
     <tr><td><code>note</code></td>
@@ -500,11 +509,11 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
     the expression. The <code>req_novary</code> function can be used to
     prevent names from being added to the Vary header.</p>
 
-    <p>In addition to string-valued functions, there are also list-valued functions which
-    take one string as argument and return a wordlist, i.e. a list of strings. The wordlist
-    can be used with the special <code>-in</code> operator.
-    Functions names are not case sensitive.
-    Modules may register additional functions.</p>
+    <p>In addition to string-valued functions, there are also
+    list-valued functions which take one string as argument and return a
+    wordlist, i.e. a list of strings. The wordlist can be used with the
+    special <code>-in</code> operator.  Functions names are not case
+    sensitive.  Modules may register additional functions.</p>
 
     <p>There are no built-in list-valued functions. <module>mod_ssl</module>
     provides <code>PeerExtList</code>.  See the description of
@@ -517,7 +526,8 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
 <section id="examples">
     
        <title>Example expressions</title>
-       <p>The following examples show how expressions might be used to evaluate requests:</p>
+    <p>The following examples show how expressions might be used to
+    evaluate requests:</p>
        <!-- This section should probably be extended with more, useful examples -->
        <highlight language="config">
 # Compare the host name to example.com and redirect to www.example.com if it matches
@@ -549,7 +559,8 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
         <td>string contained in string list</td></tr>
     <tr><td><code>/regexp/</code></td>
         <td><code>m#regexp#</code></td>
-        <td>Regular expression (the second form allows different delimiters than /)</td></tr>
+        <td>Regular expression (the second form allows different
+        delimiters than /)</td></tr>
     <tr><td><code>/regexp/i</code></td>
         <td><code>m#regexp#i</code></td>
         <td>Case insensitive regular expression</td></tr>
diff --git a/docs/manual/images/mod_filter_old.png b/docs/manual/images/mod_filter_old.png
new file mode 100644 (file)
index 0000000..56c02d8
Binary files /dev/null and b/docs/manual/images/mod_filter_old.png differ
index 326f594d27bbcb861cca75f9e6e1323fc788b1ce..53088cba4d9a38815c5b9771fa7160e5c56e55dc 100644 (file)
@@ -125,7 +125,9 @@ Alias /foo /gaq
     <var>URL-path</var> then the server will require a trailing / in
     order to expand the alias. That is, if you use</p>
 
-    <dl><dd><code>Alias /icons/ /usr/local/apache/icons/</code></dd></dl>
+    <highlight language="config">
+      Alias /icons/ /usr/local/apache/icons/
+    </highlight>
 
     <p>then the url <code>/icons</code> will not be aliased, as it lacks
     that trailing /. Likewise, if you omit the slash on the
index 4665761ad49e5f51e35e61388f122d8ac2a80afb..d39bd1293a02802f3811f6d549465d66f55c772f 100644 (file)
@@ -194,11 +194,12 @@ ProxyPassReverse /apps/foo http://www.example.com/foo
     suggest that the maximum payload could be as large as 2^16, in fact, the
     code sets the maximum to be 8K.</p>
     <table>
+       <columnspec><column width=".2"/><column width=".1"/><column width=".1"/><column width=".2"/><column width=".2"/><column width=".2"/></columnspec>
       <tr>
-        <td colspan="6"><em>Packet Format (Server->Container)</em></td>
+        <th colspan="6"><em>Packet Format (Server->Container)</em></th>
       </tr>
       <tr>
-        <td>Byte</td>
+        <th>Byte</th>
         <td>0</td>
         <td>1</td>
         <td>2</td>
@@ -206,7 +207,7 @@ ProxyPassReverse /apps/foo http://www.example.com/foo
         <td>4...(n+3)</td>
       </tr>
       <tr>
-        <td>Contents</td>
+        <th>Contents</th>
         <td>0x12</td>
         <td>0x34</td>
         <td colspan="2">Data Length (n)</td>
@@ -214,11 +215,12 @@ ProxyPassReverse /apps/foo http://www.example.com/foo
       </tr>
     </table>
     <table>
+       <columnspec><column width=".2"/><column width=".1"/><column width=".1"/><column width=".2"/><column width=".2"/><column width=".2"/></columnspec>
       <tr>
-        <td colspan="6"><em>Packet Format (Container->Server)</em></td>
+        <th colspan="6"><em>Packet Format (Container->Server)</em></th>
       </tr>
       <tr>
-        <td>Byte</td>
+        <th>Byte</th>
         <td>0</td>
         <td>1</td>
         <td>2</td>
@@ -226,7 +228,7 @@ ProxyPassReverse /apps/foo http://www.example.com/foo
         <td>4...(n+3)</td>
       </tr>
       <tr>
-        <td>Contents</td>
+        <th>Contents</th>
         <td>A</td>
         <td>B</td>
         <td colspan="2">Data Length (n)</td>
@@ -241,6 +243,7 @@ ProxyPassReverse /apps/foo http://www.example.com/foo
      <p>The web server can send the following messages to the servlet
      container:</p>
     <table>
+       <columnspec><column width=".2"/><column width=".3"/><column width=".5"/></columnspec>
       <tr>
         <td>Code</td>
         <td>Type of Packet</td>
@@ -282,6 +285,7 @@ ProxyPassReverse /apps/foo http://www.example.com/foo
     <p>The servlet container can send the following types of messages to the
     webserver:</p>
     <table>
+       <columnspec><column width=".2"/><column width=".3"/><column width=".5"/></columnspec>
       <tr>
         <td>Code</td>
         <td>Type of Packet</td>
index bb764d33eb665b5e4eef90d90bbbcbeee6281cdc..02f680cb41fa012229ef53b953b28524e77913fd 100644 (file)
@@ -178,11 +178,11 @@ RemoteIPInternalProxyList conf/trusted-proxies.lst
     </example>
 
     <example><title>conf/trusted-proxies.lst contents</title>
-    <example><pre>
+    <pre>
 # Our internally trusted proxies;
 10.0.2.0/24         #Everyone in the testing group
 gateway.localdomain #The front end balancer
-         </pre></example>
+</pre>
     </example>
 </usage>
 </directivesynopsis>