]> granicus.if.org Git - apache/commitdiff
Adds two missing flags to this doc, but I'm considering dropping it
authorRich Bowen <rbowen@apache.org>
Mon, 2 Nov 2009 19:47:36 +0000 (19:47 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 2 Nov 2009 19:47:36 +0000 (19:47 +0000)
entirely. I feel it just duplicates content in the reference doc.
Opinions?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832079 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/flags.xml

index dd665e4a6db70a66636c2a1c167b616ee7b22246..ca8036248fc06b00f0824273170736adf1f57ac8 100644 (file)
@@ -63,6 +63,13 @@ long form, so that you remember what each flag is supposed to do.</p>
 <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 @@ RewriteEngine On<br />
 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