]> granicus.if.org Git - apache/commitdiff
Link to password formats doc from auth howto, and buildfluff
authorVincent Bray <noodl@apache.org>
Sat, 8 Sep 2007 15:54:19 +0000 (15:54 +0000)
committerVincent Bray <noodl@apache.org>
Sat, 8 Sep 2007 15:54:19 +0000 (15:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573866 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/auth.html.en
docs/manual/howto/auth.xml
docs/manual/mod/mod_rewrite.html.en

index 29dfc605c9806cb7781ae4bd1f5274ce09555c3e..a2cea509a2d16dec3600c3e0c0cf0339134004dd 100644 (file)
@@ -627,7 +627,11 @@ person in</a></h2>
     contain some more information about how this all works.
     The directive <code class="directive"><a href="../mod/mod_authn_core.html#&lt;authnprovideralias&gt;">&lt;AuthnProviderAlias&gt;</a></code> 
     can also help in simplifying certain authentication configurations.</p>
-
+    
+    <p>The various ciphers supported by Apache for authentication data are
+    explained in <a href="../misc/password_encryptions.html">Password
+    Encryptions</a>.</p>
+    
     <p>And you may want to look at the <a href="access.html">Access
     Control</a> howto, which discusses a number of related topics.</p>
 
index 2f3f8766a9579e9900f7a57ddf12bffe3cfdd3ba..8c4f347f80eee7cb62df5adab63b187d7f4e468a 100644 (file)
@@ -625,7 +625,11 @@ person in</title>
     contain some more information about how this all works.
     The directive <directive module="mod_authn_core">&lt;AuthnProviderAlias&gt;</directive> 
     can also help in simplifying certain authentication configurations.</p>
-
+    
+    <p>The various ciphers supported by Apache for authentication data are
+    explained in <a href="../misc/password_encryptions.html">Password
+    Encryptions</a>.</p>
+    
     <p>And you may want to look at the <a href="access.html">Access
     Control</a> howto, which discusses a number of related topics.</p>
 
index 2874522f338bed24500383b224e95275db312246..ba179534f48e94372feb1a95a9abb8e8c5ece875 100644 (file)
@@ -1227,6 +1227,21 @@ cannot use <code>$N</code> in the substitution string!
       brackets, of any of the following flags: </p>
 
       <dl>
+        <dt>'<code>B</code>' (escape backreferences)</dt>
+        <dd><p>Apache has to unescape URLs before mapping them,
+        so backreferences will be unescaped at the time they are applied.
+        Using the B flag, non-alphanumeric characters in backreferences
+        will be escaped.  For example, consider the rule:</p>
+        <pre><code> RewriteRule RewriteRule ^(.*)$   index.php?show=$1 </code></pre>
+        <p>This will map <code>/C++</code> to <code>index.php?show=C++</code>.
+        But it will also map <code>/C%2b%2b</code> to
+        <code>index.php?show=C++</code>, because the <code>%2b</code>
+        has been unescaped.  With the B flag, it will instead map to
+        <code>index.php?show=&gt;/C%2b%2b</code>.</p>
+        <p>This escaping is particularly necessary in a proxy situation,
+        when the backend may break if presented with an unescaped URL.</p>
+        </dd>
+
         <dt>'<code>chain|C</code>'
         (chained with next rule)</dt><dd>
          This flag chains the current rule with the next rule
@@ -1240,8 +1255,7 @@ cannot use <code>$N</code> in the substitution string!
         when you let an external redirect happen (where the
         ``<code>.www</code>'' part should not occur!).</dd>
 
-        <dt>
-               '<code>cookie|CO=</code><em>NAME</em>:<em>VAL</em>:<em>domain</em>[:<em>lifetime</em>[:<em>path</em>]]'
+        <dt>'<code>cookie|CO=</code><em>NAME</em>:<em>VAL</em>:<em>domain</em>[:<em>lifetime</em>[:<em>path</em>]]'
         (set cookie)</dt><dd>
         This sets a cookie in the client's browser.  The cookie's name
         is specified by <em>NAME</em> and the value is