]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
PR63715: s/can/came and add a caution about REDIRECT_-prefixed envvars
authorEric Covener <covener@apache.org>
Sun, 1 Sep 2019 18:10:34 +0000 (18:10 +0000)
committerEric Covener <covener@apache.org>
Sun, 1 Sep 2019 18:10:34 +0000 (18:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1866243 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/advanced.xml

index 8abba8e109cbb176eb9d7ab84e106c07911bc6a0..495522a1dcec3ec0fcadc14fdb9890e0138ea48a 100644 (file)
@@ -318,10 +318,10 @@ RewriteRule   "^foo\.html$"             "foo.night.html"
     <dt>Description:</dt>
 
     <dd>
-      <p>At time, we want to maintain some kind of status when we
+      <p>At times, we want to maintain some kind of status when we
       perform a rewrite. For example, you want to make a note that
       you've done that rewrite, so that you can check later to see if a
-      request can via that rewrite. One way to do this is by setting an
+      request came via that rewrite. One way to do this is by setting an
       environment variable.</p>
     </dd>
 
@@ -344,7 +344,10 @@ RewriteCond "%{ENV:rewritten}"  =1
 
     <p>Note that environment variables do not survive an external
     redirect. You might consider using the [CO] flag to set a
-    cookie.</p>
+    cookie. For per-directory and htaccess rewrites, where the final
+    substitution is processed as an internal redirect, environment
+    variables from the previous round of rewriting are prefixed with
+    "REDIRECT_". </p>
 
     </dd>
   </dl>