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 2009/11/02 20:47:36 UTC

svn commit: r832079 - /httpd/httpd/trunk/docs/manual/rewrite/flags.xml

Author: rbowen
Date: Mon Nov  2 19:47:36 2009
New Revision: 832079

URL: http://svn.apache.org/viewvc?rev=832079&view=rev
Log:
Adds two missing flags to this doc, but I'm considering dropping it
entirely. I feel it just duplicates content in the reference doc.
Opinions?

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/flags.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/flags.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/flags.xml?rev=832079&r1=832078&r2=832079&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/flags.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/flags.xml Mon Nov  2 19:47:36 2009
@@ -63,6 +63,13 @@
 <p>Presented here are each of the available flags, along with an example
 of how you might use them.</p>
 
+<section id="flag_b"><title>B</title>
+<p>The [B] flag instructs <directive
+module-"mod_rewrite">RewriteRule</a> to escape non-alphanumeric
+characters before applying the transformation.
+</p>
+</section>
+
 <section id="flag_c"><title>C|chain</title>
 <p>The [C] or [chain] flag indicates that the <directive
 module="mod_rewrite">RewriteRule</directive> is chained to the next
@@ -93,14 +100,20 @@
 RewriteRule ^/index\.html - [CO=frontdoor:yes:.apache.org:1440:/]
 </example>
 
-<p>This rule doesn't rewrite the request (the "-" rewrite target tells
-mod_rewrite to pass the request through unchanged) but sets a cookie
+<p>In the example give, the rule doesn't rewrite the request.
+The "-" rewrite target tells mod_rewrite to pass the request
+through unchanged. Instead, it sets a cookie
 called 'frontdoor' to a value of 'yes'. The cookie is valid for any host
 in the <code>.apache.org</code> domain. It will be set to expire in 1440
 minutes (24 hours) and will be returned for all URIs.</p>
 
 </section>
 
+<section id="flag_dpi"><title>DPI|discardpathinfo</title>
+<p>The DPI flag causes the PATH_INFO portion of the rewritten URI to be
+discarded.</p>
+</section>
+
 <section id="flag_e"><title>E|env</title>
 <p>With the [E], or [env] flag, you can set the value of an environment
 variable. Note that some environment variables may be set after the rule