]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Whitespace and small phrasing changes.
authorRich Bowen <rbowen@apache.org>
Wed, 16 Feb 2011 12:06:43 +0000 (12:06 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 16 Feb 2011 12:06:43 +0000 (12:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1071215 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/access.html.en
docs/manual/howto/access.xml

index 2a01f71fbf566e362586ff01c7f10f909f1e4d32..d0e3f0b446d3579982c74f7cb01f9d780ee33c22 100644 (file)
@@ -26,7 +26,7 @@
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#related">Related Modules and Directives</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#host">Access control by host</a></li>
-<li><img alt="" src="../images/down.gif" /> <a href="#env">Access control by environment variable</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#env">Access control by arbitrary variables</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#rewrite">Access control with mod_rewrite</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#moreinformation">More information</a></li>
 </ul></div>
 <div class="section">
 <h2><a name="related" id="related">Related Modules and Directives</a></h2>
 
-<p>Access control can be done by several different modules. The most
-important of these are <code class="module"><a href="../mod/mod_authz_core.html">mod_authz_core</a></code> and
-<code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code>. Also discussed in this document 
-is access control using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p>
+    <p>Access control can be done by several different modules. The most
+    important of these are <code class="module"><a href="../mod/mod_authz_core.html">mod_authz_core</a></code> and
+    <code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code>. Also discussed in this document 
+    is access control using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
@@ -78,7 +78,12 @@ is access control using <code class="module"><a href="../mod/mod_rewrite.html">m
     partial IP address, a network/netmask pair, or a network/nnn CIDR
     specification. Either IPv4 or IPv6 addresses may be used.</p>
 
-    <p>For example, if you have someone spamming your message
+    <p>See <a href="../mod/mod_authz_host.html#requiredirectives">the
+    mod_authz_host documentation</a> for further examples of this
+    syntax.</p>
+
+    <p>You can insert <code>not</code> to negate a particular requirement.
+    For example, if you have someone spamming your message
     board, and you want to keep them out, you could do the
     following:</p>
 
@@ -108,7 +113,7 @@ is access control using <code class="module"><a href="../mod/mod_rewrite.html">m
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
-<h2><a name="env" id="env">Access control by environment variable</a></h2>
+<h2><a name="env" id="env">Access control by arbitrary variables</a></h2>
 
     <p>Using the <code class="directive"><a href="../mod/core.html#if">&lt;If&gt;</a></code>,
     you can allow or deny access based on arbitrary environment
@@ -138,29 +143,29 @@ is access control using <code class="module"><a href="../mod/mod_rewrite.html">m
 <div class="section">
 <h2><a name="rewrite" id="rewrite">Access control with mod_rewrite</a></h2>
 
-<p>The <code>[F]</code> <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> flag causes a 403 Forbidden
-response to be sent. Using this, you can deny access to a resource based
-on arbitrary criteria.</p>
-
-<p>For example, if you wish to block access to a resource between 8pm
-and 6am, you can do this using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p>
-
-<div class="example"><p><code>
-RewriteEngine On<br />
-RewriteCond %{TIME_HOUR} &gt;20 [OR]<br />
-RewriteCond %{TIME_HOUR} &lt;07<br />
-RewriteRule ^/fridge - [F]
-</code></p></div>
-
-<p>This will return a 403 Forbidden response for any request after 8pm
-or before 7am. This technique can be used for any criteria that you wish
-to check. You can also redirect, or otherwise rewrite these requests, if
-that approach is preferred.</p>
-
-<p>The <code class="directive"><a href="../mod/core.html#if">&lt;If&gt;</a></code> directive,
-added in 2.4, replaces many things that <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> has
-traditionally been used to do, and you should probably look there first
-before resorting to mod_rewrite.</p>
+    <p>The <code>[F]</code> <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> flag causes a 403 Forbidden
+    response to be sent. Using this, you can deny access to a resource based
+    on arbitrary criteria.</p>
+
+    <p>For example, if you wish to block access to a resource between 8pm
+    and 6am, you can do this using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p>
+
+    <div class="example"><p><code>
+    RewriteEngine On<br />
+    RewriteCond %{TIME_HOUR} &gt;20 [OR]<br />
+    RewriteCond %{TIME_HOUR} &lt;07<br />
+    RewriteRule ^/fridge - [F]
+    </code></p></div>
+
+    <p>This will return a 403 Forbidden response for any request after 8pm
+    or before 7am. This technique can be used for any criteria that you wish
+    to check. You can also redirect, or otherwise rewrite these requests, if
+    that approach is preferred.</p>
+
+    <p>The <code class="directive"><a href="../mod/core.html#if">&lt;If&gt;</a></code> directive,
+    added in 2.4, replaces many things that <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> has
+    traditionally been used to do, and you should probably look there first
+    before resorting to mod_rewrite.</p>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
index 13cbd9074a8a522490d2d0233890da590ccdc5ed..084b968e23ab347b0e73257ac482d783ef61bf07 100644 (file)
 
 <section id="related"><title>Related Modules and Directives</title>
 
-<p>Access control can be done by several different modules. The most
-important of these are <module>mod_authz_core</module> and
-<module>mod_authz_host</module>. Also discussed in this document 
-is access control using <module>mod_rewrite</module>.</p>
+    <p>Access control can be done by several different modules. The most
+    important of these are <module>mod_authz_core</module> and
+    <module>mod_authz_host</module>. Also discussed in this document 
+    is access control using <module>mod_rewrite</module>.</p>
 
 </section>
 
@@ -80,7 +80,12 @@ is access control using <module>mod_rewrite</module>.</p>
     partial IP address, a network/netmask pair, or a network/nnn CIDR
     specification. Either IPv4 or IPv6 addresses may be used.</p>
 
-    <p>For example, if you have someone spamming your message
+    <p>See <a href="../mod/mod_authz_host.html#requiredirectives">the
+    mod_authz_host documentation</a> for further examples of this
+    syntax.</p>
+
+    <p>You can insert <code>not</code> to negate a particular requirement.
+    For example, if you have someone spamming your message
     board, and you want to keep them out, you could do the
     following:</p>
 
@@ -113,7 +118,7 @@ is access control using <module>mod_rewrite</module>.</p>
 
 </section>
 
-<section id="env"><title>Access control by environment variable</title>
+<section id="env"><title>Access control by arbitrary variables</title>
 
     <p>Using the <directive type="section" module="core">If</directive>,
     you can allow or deny access based on arbitrary environment
@@ -143,30 +148,30 @@ is access control using <module>mod_rewrite</module>.</p>
 
 <section id="rewrite"><title>Access control with mod_rewrite</title>
 
-<p>The <code>[F]</code> <directive
-module="mod_rewrite">RewriteRule</directive> flag causes a 403 Forbidden
-response to be sent. Using this, you can deny access to a resource based
-on arbitrary criteria.</p>
-
-<p>For example, if you wish to block access to a resource between 8pm
-and 6am, you can do this using <module>mod_rewrite</module>.</p>
-
-<example>
-RewriteEngine On<br />
-RewriteCond %{TIME_HOUR} &gt;20 [OR]<br />
-RewriteCond %{TIME_HOUR} &lt;07<br />
-RewriteRule ^/fridge - [F]
-</example>
-
-<p>This will return a 403 Forbidden response for any request after 8pm
-or before 7am. This technique can be used for any criteria that you wish
-to check. You can also redirect, or otherwise rewrite these requests, if
-that approach is preferred.</p>
-
-<p>The <directive type="section" module="core">If</directive> directive,
-added in 2.4, replaces many things that <module>mod_rewrite</module> has
-traditionally been used to do, and you should probably look there first
-before resorting to mod_rewrite.</p>
+    <p>The <code>[F]</code> <directive
+    module="mod_rewrite">RewriteRule</directive> flag causes a 403 Forbidden
+    response to be sent. Using this, you can deny access to a resource based
+    on arbitrary criteria.</p>
+
+    <p>For example, if you wish to block access to a resource between 8pm
+    and 6am, you can do this using <module>mod_rewrite</module>.</p>
+
+    <example>
+    RewriteEngine On<br />
+    RewriteCond %{TIME_HOUR} &gt;20 [OR]<br />
+    RewriteCond %{TIME_HOUR} &lt;07<br />
+    RewriteRule ^/fridge - [F]
+    </example>
+
+    <p>This will return a 403 Forbidden response for any request after 8pm
+    or before 7am. This technique can be used for any criteria that you wish
+    to check. You can also redirect, or otherwise rewrite these requests, if
+    that approach is preferred.</p>
+
+    <p>The <directive type="section" module="core">If</directive> directive,
+    added in 2.4, replaces many things that <module>mod_rewrite</module> has
+    traditionally been used to do, and you should probably look there first
+    before resorting to mod_rewrite.</p>
 
 </section>