You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2016/03/10 06:33:58 UTC
svn commit: r1734353 -
/httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml
Author: jailletc36
Date: Thu Mar 10 05:33:58 2016
New Revision: 1734353
URL: http://svn.apache.org/viewvc?rev=1734353&view=rev
Log:
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
Modified: httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml?rev=1734353&r1=1734352&r2=1734353&view=diff
==============================================================================
--- 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>
</highlight>
<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 10.252.46.165
</RequireAll>
-</highlight>
+ </highlight>
<p>Visitors coming from that address (<code>10.252.46.165</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>host.example.com</var></highlight>
+ <highlight language="config">
+Require not host <var>host.example.com</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}" ">=20" [OR]
RewriteCond "%{TIME_HOUR}" "<07"
-RewriteRule "^/fridge" "-" [F]
+RewriteRule "^/fridge" "-" [F]
</highlight>
<p>This will return a 403 Forbidden response for any request after 8pm
@@ -203,4 +205,3 @@ RewriteRule "^/fridge" "-" [F]
</section>
</manualpage>
-