You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/04/27 12:48:15 UTC

svn commit: r1331347 - /httpd/httpd/trunk/docs/manual/mod/

Author: humbedooh
Date: Fri Apr 27 10:48:14 2012
New Revision: 1331347

URL: http://svn.apache.org/viewvc?rev=1331347&view=rev
Log:
xforms, again

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
    httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_proxy_scgi.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_reflector.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_reqtimeout.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_session.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_ssl.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_substitute.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_usertrack.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_vhost_alias.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.html.en

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Fri Apr 27 10:48:14 2012
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1238738:1331035 (outdated) -->
+<!-- English Revision: 1238738:1331240 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en Fri Apr 27 10:48:14 2012
@@ -72,7 +72,10 @@
     enable <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> and <code class="module"><a href="../mod/mod_proxy_fcgi.html">mod_proxy_fcgi</a></code>.</p>
 
     <div class="example"><h3>Single application instance</h3><p><code>
+    <pre class="prettyprint lang-config">
       ProxyPass /myapp/ fcgi://localhost:4000/
+      </pre>
+
     </code></p></div>
 
     <p>This application should be able to handle multiple concurrent
@@ -87,7 +90,10 @@
     the following example:</p>
 
     <div class="example"><h3>Single application instance, no connection reuse</h3><p><code>
+    <pre class="prettyprint lang-config">
       ProxyPass /myapp/ fcgi://localhost:4000/ disablereuse=on
+      </pre>
+
     </code></p></div>
 
     <p>The balanced gateway needs <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> and
@@ -97,13 +103,14 @@
     default, and will be used for this example configuration.</p>
 
     <div class="example"><h3>Balanced gateway to multiple application instances</h3><p><code>
-    ProxyPass /myapp/ balancer://myappcluster/<br />
-    &lt;Proxy balancer://myappcluster/&gt;<br />
-    <span class="indent">
-        BalancerMember fcgi://localhost:4000/<br />
-        BalancerMember fcgi://localhost:4001/<br />
-    </span>
-    &lt;/Proxy&gt;
+    <pre class="prettyprint lang-config">
+ProxyPass /myapp/ balancer://myappcluster/
+&lt;Proxy balancer://myappcluster/&gt;
+    BalancerMember fcgi://localhost:4000/
+    BalancerMember fcgi://localhost:4001/
+&lt;/Proxy&gt;
+    </pre>
+
     </code></p></div>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_scgi.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy_scgi.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy_scgi.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_scgi.html.en Fri Apr 27 10:48:14 2012
@@ -68,7 +68,10 @@
     enable <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> and <code class="module"><a href="../mod/mod_proxy_scgi.html">mod_proxy_scgi</a></code>.</p>
 
     <div class="example"><h3>Simple gateway</h3><p><code>
+    <pre class="prettyprint lang-config">
       ProxyPass /scgi-bin/ scgi://localhost:4000/
+      </pre>
+
     </code></p></div>
 
     <p>The balanced gateway needs <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> and
@@ -78,13 +81,14 @@
     default, and will be used for this example configuration.</p>
 
     <div class="example"><h3>Balanced gateway</h3><p><code>
-    ProxyPass /scgi-bin/ balancer://somecluster/<br />
-    &lt;Proxy balancer://somecluster/&gt;<br />
-    <span class="indent">
-        BalancerMember scgi://localhost:4000/<br />
-        BalancerMember scgi://localhost:4001/<br />
-    </span>
-    &lt;/Proxy&gt;
+    <pre class="prettyprint lang-config">
+ProxyPass /scgi-bin/ balancer://somecluster/
+&lt;Proxy balancer://somecluster/&gt;
+    BalancerMember scgi://localhost:4000/
+    BalancerMember scgi://localhost:4001/
+&lt;/Proxy&gt;
+    </pre>
+
     </code></p></div>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
@@ -127,7 +131,10 @@ backend</td></tr>
     feature.</p>
 
     <div class="example"><h3>Example</h3><p><code>
+    <pre class="prettyprint lang-config">
     ProxySCGIInternalRedirect Off
+    </pre>
+
     </code></p></div>
 
 </div>
@@ -165,11 +172,14 @@ header</td></tr>
     </dl>
 
     <div class="example"><h3>Example</h3><p><code>
-    # Use the default header (X-Sendfile)<br />
-    ProxySCGISendfile On<br />
-    <br />
-    # Use a different header<br />
+    <pre class="prettyprint lang-config">
+    # Use the default header (X-Sendfile)
+    ProxySCGISendfile On
+    
+    # Use a different header
     ProxySCGISendfile X-Send-Static
+    </pre>
+
     </code></p></div>
 
 </div>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en Fri Apr 27 10:48:14 2012
@@ -38,12 +38,13 @@ The connection speed to be simulated is 
 variable <code>rate-limit</code>.</p>
 
 <div class="example"><h3>Example Configuration</h3><p><code>
-&lt;Location /downloads&gt;<br />
-<span class="indent">
-SetOutputFilter RATE_LIMIT<br />
-SetEnv rate-limit 400 <br />
-</span>
+<pre class="prettyprint lang-config">
+&lt;Location /downloads&gt;
+    SetOutputFilter RATE_LIMIT
+    SetEnv rate-limit 400 
 &lt;/Location&gt;
+</pre>
+
 </code></p></div>
 
 </div>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_reflector.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_reflector.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_reflector.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_reflector.html.en Fri Apr 27 10:48:14 2012
@@ -55,23 +55,25 @@
     <dd>Pass the request body through the DEFLATE filter to compress the
     body. This request requires a Content-Encoding request header containing
     "gzip" for the filter to return compressed data.
-    <div class="example"><p><code>
-      &lt;Location /compress&gt;<br />
-        SetHandler reflector<br />
-        SetOutputFilter DEFLATE<br />
-      &lt;/Location&gt;
-    </code></p></div>
+    <pre class="prettyprint lang-config">
+&lt;Location /compress&gt;
+    SetHandler reflector
+    SetOutputFilter DEFLATE
+&lt;/Location&gt;
+    </pre>
+
     </dd>
 
     <dt>Image downsampling service</dt>
     <dd>Pass the request body through an image downsampling filter, and reflect
     the results to the caller.
-    <div class="example"><p><code>
-      &lt;Location /downsample&gt;<br />
-        SetHandler reflector<br />
-        SetOutputFilter DOWNSAMPLE<br />
-      &lt;/Location&gt;
-    </code></p></div>
+    <pre class="prettyprint lang-config">
+&lt;Location /downsample&gt;
+    SetHandler reflector
+    SetOutputFilter DOWNSAMPLE
+&lt;/Location&gt;
+    </pre>
+
     </dd>
     </dl>
 </div>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_reqtimeout.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_reqtimeout.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_reqtimeout.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_reqtimeout.html.en Fri Apr 27 10:48:14 2012
@@ -50,9 +50,10 @@
         Allow 10 seconds to receive the request including the headers and
         30 seconds for receiving the request body:
 
-        <div class="example"><p><code>
+        <pre class="prettyprint lang-config">
           RequestReadTimeout header=10 body=30
-        </code></p></div>
+        </pre>
+
       </li>
 
       <li>
@@ -62,9 +63,10 @@
         the limit given indirectly by
         <code class="directive"><a href="../mod/core.html#limitrequestbody">LimitRequestBody</a></code>):
 
-        <div class="example"><p><code>
+        <pre class="prettyprint lang-config">
           RequestReadTimeout body=10,MinRate=1000
-        </code></p></div>
+        </pre>
+
       </li>
 
       <li>
@@ -73,9 +75,10 @@
         500 bytes received. But do not allow more than 30 seconds for the
         request including the headers:
 
-        <div class="example"><p><code>
+        <pre class="prettyprint lang-config">
           RequestReadTimeout header=10-30,MinRate=500
-        </code></p></div>
+        </pre>
+
       </li>
 
       <li>
@@ -83,9 +86,10 @@
         If a common configuration is used for http and https virtual hosts, the
         timeouts should not be set too low:
 
-        <div class="example"><p><code>
+        <pre class="prettyprint lang-config">
           RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
-        </code></p></div>
+        </pre>
+
       </li>
 
     </ol>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_session.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_session.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_session.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_session.html.en Fri Apr 27 10:48:14 2012
@@ -160,8 +160,11 @@
       stored on the browser, in a cookie called <code>session</code>.</p>
 
       <div class="example"><h3>Browser based session</h3><p><code>
-        Session On<br />
-        SessionCookieName session path=/<br />
+      <pre class="prettyprint lang-config">
+Session On
+SessionCookieName session path=/
+        </pre>
+
       </code></p></div>
 
       <p>The session is not useful unless it can be written to or read from. The
@@ -170,9 +173,12 @@
       <code>X-Replace-Session</code>.</p>
 
       <div class="example"><h3>Writing to a session</h3><p><code>
-        Session On<br />
-        SessionCookieName session path=/<br />
-        SessionHeader X-Replace-Session<br />
+      <pre class="prettyprint lang-config">
+Session On
+SessionCookieName session path=/
+SessionHeader X-Replace-Session
+        </pre>
+
       </code></p></div>
 
       <p>The header should contain name value pairs expressed in the same format
@@ -180,11 +186,14 @@
       empty string has the effect of removing that key from the session.</p>
 
       <div class="example"><h3>CGI to write to a session</h3><p><code>
-        #!/bin/bash<br />
-        echo "Content-Type: text/plain"<br />
-        echo "X-Replace-Session: key1=foo&amp;key2=&amp;key3=bar"<br />
-        echo<br />
-        env<br />
+      <pre class="prettyprint lang-sh">
+#!/bin/bash
+echo "Content-Type: text/plain"
+echo "X-Replace-Session: key1=foo&amp;key2=&amp;key3=bar"
+echo
+env
+        </pre>
+
       </code></p></div>
 
       <p>If configured, the session can be read back from the HTTP_SESSION
@@ -193,10 +202,13 @@
       <code class="directive"><a href="#sessionenv">SessionEnv</a></code> directive.</p>
 
       <div class="example"><h3>Read from a session</h3><p><code>
-        Session On<br />
-        SessionEnv On<br />
-        SessionCookieName session path=/<br />
-        SessionHeader X-Replace-Session<br />
+      <pre class="prettyprint lang-config">
+Session On
+SessionEnv On
+SessionCookieName session path=/
+SessionHeader X-Replace-Session
+        </pre>
+
       </code></p></div>
 
       <p>Once read, the CGI variable <code>HTTP_SESSION</code> should contain
@@ -217,9 +229,12 @@
       module.</p>
 
       <div class="example"><h3>Browser based encrypted session</h3><p><code>
-        Session On<br />
-        SessionCryptoPassphrase secret<br />
-        SessionCookieName session path=/<br />
+      <pre class="prettyprint lang-config">
+Session On
+SessionCryptoPassphrase secret
+SessionCookieName session path=/
+        </pre>
+
       </code></p></div>
 
       <p>The session will be automatically decrypted on load, and encrypted on
@@ -254,9 +269,12 @@
       as in the example below.</p>
 
       <div class="example"><h3>Setting cookie parameters</h3><p><code>
-        Session On<br />
-        SessionCryptoPassphrase secret<br />
-        SessionCookieName session path=/private;domain=example.com;httponly;secure;<br />
+      <pre class="prettyprint lang-config">
+Session On
+SessionCryptoPassphrase secret
+SessionCookieName session path=/private;domain=example.com;httponly;secure;
+        </pre>
+
       </code></p></div>
 
       <p>In cases where the Apache server forms the frontend for backend origin servers,
@@ -276,14 +294,17 @@
       the session.</p>
 
       <div class="example"><h3>Form based authentication</h3><p><code>
-        Session On<br />
-        SessionCryptoPassphrase secret<br />
-        SessionCookieName session path=/<br />
-        AuthFormProvider file<br />
-        AuthUserFile conf/passwd<br />
-        AuthType form<br />
-        AuthName realm<br />
-        ...<br />
+      <pre class="prettyprint lang-config">
+Session On
+SessionCryptoPassphrase secret
+SessionCookieName session path=/
+AuthFormProvider file
+AuthUserFile conf/passwd
+AuthType form
+AuthName realm
+#...
+        </pre>
+
       </code></p></div>
 
       <p>See the <code class="module"><a href="../mod/mod_auth_form.html">mod_auth_form</a></code> module for documentation and complete

Modified: httpd/httpd/trunk/docs/manual/mod/mod_ssl.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_ssl.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_ssl.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_ssl.html.en Fri Apr 27 10:48:14 2012
@@ -240,7 +240,7 @@ For backward compatibility there is addi
 ``<code>%{</code><em>name</em><code>}c</code>'' cryptography format function
 provided. Information about this function is provided in the <a href="../ssl/ssl_compat.html">Compatibility</a> chapter.</p>
 <div class="example"><h3>Example</h3><p><code>
-<pre class="prettyprint lang-config"> 
+<pre class="prettyprint lang-config">
 CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
 </pre>
 

Modified: httpd/httpd/trunk/docs/manual/mod/mod_substitute.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_substitute.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_substitute.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_substitute.html.en Fri Apr 27 10:48:14 2012
@@ -80,36 +80,39 @@
     </dl>
 
     <div class="example"><h3>Example</h3><p><code>
-        &lt;Location /&gt;
-        <span class="indent">
-            AddOutputFilterByType SUBSTITUTE text/html<br />
-            Substitute s/foo/bar/ni<br />
-        </span>
-        &lt;/Location&gt;
+    <pre class="prettyprint lang-config">
+&lt;Location /&gt;
+    AddOutputFilterByType SUBSTITUTE text/html
+    Substitute s/foo/bar/ni
+&lt;/Location&gt;
+        </pre>
+
     </code></p></div>
 
     <p>If either the pattern or the substitution contain a slash
     character then an alternative delimiter should be used:</p>
 
     <div class="example"><h3>Example of using an alternate delimiter</h3><p><code>
-        &lt;Location /&gt;
-        <span class="indent">
-            AddOutputFilterByType SUBSTITUTE text/html<br />
-            Substitute "s|&lt;BR */?&gt;|&lt;br /&gt;|i"
-        </span>
-        &lt;/Location&gt;
+    <pre class="prettyprint lang-config">
+&lt;Location /&gt;
+    AddOutputFilterByType SUBSTITUTE text/html
+    Substitute "s|&lt;BR */?&gt;|&lt;br /&gt;|i"
+&lt;/Location&gt;
+        </pre>
+
     </code></p></div>
 
     <p>Backreferences can be used in the comparison and in the substitution,
     when regular expressions are used, as illustrated in the following example: </p>
     <div class="example"><h3>Example of using backreferences and captures</h3><p><code>
-        &lt;Location /&gt;
-        <span class="indent">
-            AddOutputFilterByType SUBSTITUTE text/html<br />
-            # "foo=k,bar=k" -&gt; "foo/bar=k" <br />
-            Substitute "s|foo=(\w+),bar=\1|foo/bar=$1"
-        </span>
-        &lt;/Location&gt;
+    <pre class="prettyprint lang-config">
+&lt;Location /&gt;
+    AddOutputFilterByType SUBSTITUTE text/html
+    # "foo=k,bar=k" -&gt; "foo/bar=k" 
+    Substitute "s|foo=(\w+),bar=\1|foo/bar=$1"
+&lt;/Location&gt;
+    </pre>
+
     </code></p></div>
 
     <p>A common use scenario for <code>mod_substitute</code> is the
@@ -122,10 +125,13 @@
     those URLs into something that will work from the front end:</p>
 
     <div class="example"><h3>Rewriting URLs embedded in proxied content</h3><p><code>
-    ProxyPass /blog/ http://internal.blog.example.com<br />
-    ProxyPassReverse /blog/ http://internal.blog.example.com/<br />
-    <br />
-    Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
+    <pre class="prettyprint lang-config">
+ProxyPass /blog/ http://internal.blog.example.com
+ProxyPassReverse /blog/ http://internal.blog.example.com/
+
+Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
+    </pre>
+
     </code></p></div>
 
     <p><code class="directive"><a href="../mod/mod_proxy.html#proxypassreverse">ProxyPassReverse</a></code>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_usertrack.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_usertrack.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_usertrack.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_usertrack.html.en Fri Apr 27 10:48:14 2012
@@ -57,10 +57,11 @@
     <p><code class="module"><a href="../mod/mod_usertrack.html">mod_usertrack</a></code> sets a cookie which can be logged
     via <code class="module"><a href="../mod/mod_log_config.html">mod_log_config</a></code> configurable logging formats:</p>
 
-    <div class="example"><p><code>
-    LogFormat "%{Apache}n %r %t" usertrack<br />
-    CustomLog logs/clickstream.log usertrack
-    </code></p></div>
+    <pre class="prettyprint lang-config">
+LogFormat "%{Apache}n %r %t" usertrack
+CustomLog logs/clickstream.log usertrack
+    </pre>
+
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -95,9 +96,10 @@
     level domain (for example <code>.example.co.uk</code>).
     </div>
 
-    <div class="example"><p><code>
+    <pre class="prettyprint lang-config">
     CookieDomain .example.com
-    </code></p></div>
+    </pre>
+
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -121,9 +123,10 @@
     <p>If this directive is not used, cookies last only for the
     current browser session.</p>
 
-    <div class="example"><p><code>
+    <pre class="prettyprint lang-config">
     CookieExpires "3 weeks"
-    </code></p></div>
+    </pre>
+
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -145,9 +148,10 @@
     unpredictable if you use a name containing unusual characters.
     Valid characters include A-Z, a-z, 0-9, "_", and "-".</p>
 
-    <div class="example"><p><code>
+    <pre class="prettyprint lang-config">
     CookieName clicktrack
-    </code></p></div>
+    </pre>
+
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -183,9 +187,10 @@
     three of these formats, with <code>Cookie2</code> being the
     preferred format.</p>
 
-    <div class="example"><p><code>
+    <pre class="prettyprint lang-config">
     CookieStyle Cookie2
-    </code></p></div>
+    </pre>
+
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -207,9 +212,10 @@
     <code class="module"><a href="../mod/mod_usertrack.html">mod_usertrack</a></code> will <strong>not</strong>
     activate cookies. </p>
 
-    <div class="example"><p><code>
+    <pre class="prettyprint lang-config">
     CookieTracking on
-    </code></p></div>
+    </pre>
+
 
 
 </div>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_vhost_alias.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_vhost_alias.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_vhost_alias.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_vhost_alias.html.en Fri Apr 27 10:48:14 2012
@@ -48,10 +48,11 @@ hosting</td></tr>
       /cgi-bin/script.pl</code> to <code>
       /usr/local/apache2/cgi-bin/script.pl</code> in all cases:</p>
 
-      <div class="example"><p><code>
-        ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/<br />
-        VirtualScriptAlias /never/found/%0/cgi-bin/
-      </code></p></div>
+      <pre class="prettyprint lang-config">
+ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
+VirtualScriptAlias /never/found/%0/cgi-bin/
+      </pre>
+
     </div>
 </div>
 <div id="quickview"><h3 class="directives">Directives</h3>
@@ -143,10 +144,11 @@ hosting</td></tr>
     <p>For simple name-based virtual hosts you might use the
     following directives in your server configuration file:</p>
 
-    <div class="example"><p><code>
-      UseCanonicalName    Off<br />
-      VirtualDocumentRoot /usr/local/apache/vhosts/%0
-    </code></p></div>
+    <pre class="prettyprint lang-config">
+UseCanonicalName    Off
+VirtualDocumentRoot /usr/local/apache/vhosts/%0
+    </pre>
+
 
     <p>A request for
     <code>http://www.example.com/directory/file.html</code> will be
@@ -159,10 +161,11 @@ hosting</td></tr>
     <code>vhosts</code> directory. To do this you might use the
     following in your configuration file:</p>
 
-    <div class="example"><p><code>
-      UseCanonicalName    Off<br />
-      VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2
-    </code></p></div>
+    <pre class="prettyprint lang-config">
+UseCanonicalName    Off
+VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2
+    </pre>
+
 
     <p>A request for
     <code>http://www.domain.example.com/directory/file.html</code>
@@ -172,18 +175,20 @@ hosting</td></tr>
     <p>A more even spread of files can be achieved by hashing from the
     end of the name, for example: </p>
 
-<div class="example"><p><code>
+<pre class="prettyprint lang-config">
     VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.-1/%2.-2/%2.-3/%2
-</code></p></div>
+</pre>
+
 
     <p>The example request would come from
     <code>/usr/local/apache/vhosts/example.com/n/i/a/domain/directory/file.html</code>.</p>
 
     <p>Alternatively you might use: </p>
 
-<div class="example"><p><code>
+<pre class="prettyprint lang-config">
     VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+
-</code></p></div>
+</pre>
+
 
     <p>The example request would come from
     <code>/usr/local/apache/vhosts/example.com/d/o/m/ain/directory/file.html</code>.</p>
@@ -191,11 +196,12 @@ hosting</td></tr>
     <p>For IP-based virtual hosting you might use the following in
     your configuration file:</p>
 
-    <div class="example"><p><code>
-      UseCanonicalName DNS<br />
-      VirtualDocumentRootIP /usr/local/apache/vhosts/%1/%2/%3/%4/docs<br />
-      VirtualScriptAliasIP  /usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin
-    </code></p></div>
+    <pre class="prettyprint lang-config">
+UseCanonicalName DNS
+VirtualDocumentRootIP /usr/local/apache/vhosts/%1/%2/%3/%4/docs
+VirtualScriptAliasIP  /usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin
+    </pre>
+
 
     <p>A request for
     <code>http://www.domain.example.com/directory/file.html</code>
@@ -212,9 +218,10 @@ hosting</td></tr>
     a <code>%</code> directive, you can work around the problem in
     the following way:</p>
 
-<div class="example"><p><code>
+<pre class="prettyprint lang-config">
     VirtualDocumentRoot /usr/local/apache/vhosts/%2.0.%3.0
-</code></p></div>
+</pre>
+
 
     <p>A request for
     <code>http://www.domain.example.com/directory/file.html</code>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.html.en?rev=1331347&r1=1331346&r2=1331347&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_xml2enc.html.en Fri Apr 27 10:48:14 2012
@@ -165,7 +165,8 @@ module for earlier versions.</td></tr>
     information, you can set this default to help mod_xml2enc process
     the data correctly.  For example, to work with the default value
     of Latin1 (<var>iso-8859-1</var> specified in HTTP/1.0, use</p>
-    <div class="example"><p><code>xml2EncDefault iso-8859-1</code></p></div>
+    <pre class="prettyprint lang-config">xml2EncDefault iso-8859-1</pre>
+
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>