jorton 2004/03/09 13:34:52
Modified: docs/manual/mod mod_rewrite.xml
Log:
Document %{HTTPS} and expand on %{SSL:...} a bit.
Revision Changes Path
1.25 +16 -4 httpd-2.0/docs/manual/mod/mod_rewrite.xml
Index: mod_rewrite.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_rewrite.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -w -d -u -r1.24 -r1.25
--- mod_rewrite.xml 9 Mar 2004 17:58:46 -0000 1.24
+++ mod_rewrite.xml 9 Mar 2004 21:34:52 -0000 1.25
@@ -991,6 +991,14 @@
<dd>The full local filesystem path to the file or
script matching the request.</dd>
+
+ <dt><code>HTTPS</code></dt>
+
+ <dd>Will contain the text "on" if the connection is
+ using SSL/TLS, or "off" otherwise. (This variable
+ can be safely used regardless of whether
+ <module>mod_ssl</module> is loaded).</dd>
+
</dl>
</note>
</li>
@@ -1015,9 +1023,13 @@
<code>getenv()</code> from the Apache server process.</li>
<li>There is the special format:
- <code>%{SSL:variable}</code> where <em>variable</em> can
be
- any SSL environment variable. This is looked-up via internal
- SSL structures from the Apache server process.</li>
+ <code>%{SSL:variable}</code> where <em>variable</em> is
the
+ name of an <a href="mod_ssl.html#envvars">SSL environment
+ variable</a>; this can be used whether or not
+ <module>mod_ssl</module> is loaded, but will always expand to
+ the empty string if it is not. Example:
+ <code>%{SSL:SSL_CIPHER_USEKEYSIZE}</code> may expand to
+ <code>128</code>.</li>
<li>There is the special format:
<code>%{HTTP:header}</code> where <em>header</em> can be
|