You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2011/02/15 14:15:42 UTC

svn commit: r1070881 - in /httpd/httpd/trunk/docs/manual/howto: access.html.en access.xml

Author: rbowen
Date: Tue Feb 15 13:15:42 2011
New Revision: 1070881

URL: http://svn.apache.org/viewvc?rev=1070881&view=rev
Log:
Small improvements in phrasing of the access control doc.

Modified:
    httpd/httpd/trunk/docs/manual/howto/access.html.en
    httpd/httpd/trunk/docs/manual/howto/access.xml

Modified: httpd/httpd/trunk/docs/manual/howto/access.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/access.html.en?rev=1070881&r1=1070880&r2=1070881&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/access.html.en (original)
+++ httpd/httpd/trunk/docs/manual/howto/access.html.en Tue Feb 15 13:15:42 2011
@@ -36,8 +36,8 @@
 
 <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>. Other modules
-discussed in this document include <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p>
+<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">
@@ -150,16 +150,25 @@ or before 7am. This technique can be use
 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">
 <h2><a name="moreinformation" id="moreinformation">More information</a></h2>
-    <p>You should also read the documentation for
-    <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code> and <code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code> which
-    contain some more information about how this all works.
-    <code class="module"><a href="../mod/mod_authn_alias.html">mod_authn_alias</a></code> can also help in simplifying certain
-    authentication configurations.</p>
 
-    <p>See the <a href="auth.html">Authentication and Authorization</a>
+    <p>The <a href="../expr.html">expression engine</a> gives you a
+    great deal of power to do a variety of things based on arbitrary
+    server variables, and you should consult that document for more
+    detail.</p>
+
+    <p>Also, you should read the <code class="module"><a href="../mod/mod_authz_core.html">mod_authz_core</a></code>
+    documentation for examples of combining multiple access requirements
+    and specifying how they interact.</p>
+
+    <p>See also the <a href="auth.html">Authentication and Authorization</a>
     howto.</p>
 </div></div>
 <div class="bottomlang">

Modified: httpd/httpd/trunk/docs/manual/howto/access.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/access.xml?rev=1070881&r1=1070880&r2=1070881&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/access.xml (original)
+++ httpd/httpd/trunk/docs/manual/howto/access.xml Tue Feb 15 13:15:42 2011
@@ -35,8 +35,8 @@
 
 <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>. Other modules
-discussed in this document include <module>mod_rewrite</module>.</p>
+<module>mod_authz_host</module>. Also discussed in this document 
+is access control using <module>mod_rewrite</module>.</p>
 
 </section>
 
@@ -153,16 +153,25 @@ or before 7am. This technique can be use
 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>
 
 <section id="moreinformation"><title>More information</title>
-    <p>You should also read the documentation for
-    <module>mod_auth_basic</module> and <module>mod_authz_host</module> which
-    contain some more information about how this all works.
-    <module>mod_authn_alias</module> can also help in simplifying certain
-    authentication configurations.</p>
 
-    <p>See the <a href="auth.html">Authentication and Authorization</a>
+    <p>The <a href="../expr.html">expression engine</a> gives you a
+    great deal of power to do a variety of things based on arbitrary
+    server variables, and you should consult that document for more
+    detail.</p>
+
+    <p>Also, you should read the <module>mod_authz_core</module>
+    documentation for examples of combining multiple access requirements
+    and specifying how they interact.</p>
+
+    <p>See also the <a href="auth.html">Authentication and Authorization</a>
     howto.</p>
 </section>