2009/11/2 <[email protected]>: > Author: noirin > Date: Mon Nov 2 22:05:01 2009 > New Revision: 832130 > > URL: http://svn.apache.org/viewvc?rev=832130&view=rev > Log: > Ripping out the stuff that isn't really module reference, and translating the > introduction to English > > Modified: > httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en > httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml [...] > -<h2><a name="EnvVar" id="EnvVar">Environment Variables</a></h2> > - > - <p>This module keeps track of two additional (non-standard) > - CGI/SSI environment variables named <code>SCRIPT_URL</code> > - and <code>SCRIPT_URI</code>. These contain the > - <em>logical</em> Web-view to the current resource, while the > - standard CGI/SSI variables <code>SCRIPT_NAME</code> and > - <code>SCRIPT_FILENAME</code> contain the <em>physical</em> > - System-view. </p> > - > - <p>Notice: These variables hold the URI/URL <em>as they were > - initially requested</em>, that is, <em>before</em> any > - rewriting. This is important to note because the rewriting process is > - primarily used to rewrite logical URLs to physical > - pathnames.<br /> > - These variables are set in per-server context, which means > - that they are available in per-directory context only, if > - <code class="directive">RewriteEngine</code> is set to <code>on</code> > in > - per-server context.</p>
I think this should go somewhere else (may be env.xml?), otherwise it is undocumented that mod_rewrite adds the special non-standard ENVs SCRIPT_URL and SCRIPT_URI to the internal env table when used in server context. Bob --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
