From: Rich Bowen Date: Mon, 2 Nov 2009 19:47:36 +0000 (+0000) Subject: Adds two missing flags to this doc, but I'm considering dropping it X-Git-Tag: 2.3.3~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb422aa00185f09e69b8651929079d12beb4467b;p=apache 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? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832079 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index dd665e4a6d..ca8036248f 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -63,6 +63,13 @@ long form, so that you remember what each flag is supposed to do.

Presented here are each of the available flags, along with an example of how you might use them.

+
B +

The [B] flag instructs RewriteRule to escape non-alphanumeric +characters before applying the transformation. +

+
+
C|chain

The [C] or [chain] flag indicates that the RewriteRule is chained to the next @@ -93,14 +100,20 @@ RewriteEngine On
RewriteRule ^/index\.html - [CO=frontdoor:yes:.apache.org:1440:/] -

This rule doesn't rewrite the request (the "-" rewrite target tells -mod_rewrite to pass the request through unchanged) but sets a cookie +

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 .apache.org domain. It will be set to expire in 1440 minutes (24 hours) and will be returned for all URIs.

+
DPI|discardpathinfo +

The DPI flag causes the PATH_INFO portion of the rewritten URI to be +discarded.

+
+
E|env

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