diff options
author | Stefan Fritsch <sf@apache.org> | 2010-12-30 13:34:19 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2010-12-30 13:34:19 +0100 |
commit | 6c6979ede6d856855c854119673ec40f40a7c0c7 (patch) | |
tree | 3149f27077c90a36e6d62c3b08deecd0b0c931ee /docs/manual/mod/mod_rewrite.xml | |
parent | Add -T operator to allow easy evaluation of on/off, 1/0, ... variables (diff) | |
download | apache2-6c6979ede6d856855c854119673ec40f40a7c0c7.tar.xz apache2-6c6979ede6d856855c854119673ec40f40a7c0c7.zip |
Make the REQUEST_SCHEME variable available to scripts and mod_rewrite
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053872 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_rewrite.xml')
-rw-r--r-- | docs/manual/mod/mod_rewrite.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index ba0060a4c6..f13fe66189 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -436,6 +436,7 @@ RewriteRule ^index\.html$ newsite.html REQUEST_FILENAME<br /> IS_SUBREQ<br /> HTTPS<br /> + REQUEST_SCHEME<br /> </td> </tr> </table> @@ -498,6 +499,12 @@ RewriteRule ^index\.html$ newsite.html can be safely used regardless of whether or not <module>mod_ssl</module> is loaded).</dd> + <dt><code>REQUEST_SCHEME</code></dt> + + <dd>Will contain the scheme of the request (ususally + "http" or "https"). This value can be influenced with + <directive module="core">ServerName</directive>.</dd> + </dl> </note> </li> |