You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2019/09/01 18:10:34 UTC

svn commit: r1866243 - /httpd/httpd/trunk/docs/manual/rewrite/advanced.xml

Author: covener
Date: Sun Sep  1 18:10:34 2019
New Revision: 1866243

URL: http://svn.apache.org/viewvc?rev=1866243&view=rev
Log:
PR63715: s/can/came and add a caution about REDIRECT_-prefixed envvars


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

Modified: httpd/httpd/trunk/docs/manual/rewrite/advanced.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/advanced.xml?rev=1866243&r1=1866242&r2=1866243&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/advanced.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/advanced.xml Sun Sep  1 18:10:34 2019
@@ -318,10 +318,10 @@ RewriteRule   "^foo\.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>