httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1734353 - /httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml
Date Thu, 10 Mar 2016 05:33:58 GMT
Author: jailletc36
Date: Thu Mar 10 05:33:58 2016
New Revision: 1734353

Be more consistent in the way examples are formatted

Spotted by David Eisner  in online doc

+ synch with trunk


Modified: httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml
--- httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml Thu Mar 10 05:33:58 2016
@@ -68,8 +68,8 @@
     <p>The usage of these directives is:</p>
     <highlight language="config">
-Require host address
-Require ip ip.address
+Require host <var>address</var>
+Require ip <var>ip.address</var>
     <p>In the first form, <var>address</var> is a fully qualified
@@ -98,14 +98,16 @@ Require ip ip.address
     Require all granted
     Require not ip
+    </highlight>
     <p>Visitors coming from that address (<code></code>)
     will not be able to see the content covered by this directive. If, 
     instead, you have a machine name, rather than an IP address, you 
     can use that.</p>
-    <highlight language="config">Require not host <var></var></highlight>
+    <highlight language="config">
+Require not host <var></var>
+    </highlight>
     <p>And, if you'd like to block access from an entire domain,
     you can specify just part of an address or domain name:</p>
@@ -172,7 +174,7 @@ Require expr %{HTTP_USER_AGENT} != 'BadB
 RewriteEngine On
 RewriteCond "%{TIME_HOUR}" "&gt;=20" [OR]
 RewriteCond "%{TIME_HOUR}" "&lt;07"
-RewriteRule "^/fridge" "-" [F]
+RewriteRule "^/fridge"     "-" [F]
     <p>This will return a 403 Forbidden response for any request after 8pm
@@ -203,4 +205,3 @@ RewriteRule "^/fridge" "-" [F]

View raw message