]> granicus.if.org Git - apache/commitdiff
Document %{HTTPS} and expand on %{SSL:...} a bit.
authorJoe Orton <jorton@apache.org>
Tue, 9 Mar 2004 21:34:52 +0000 (21:34 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 9 Mar 2004 21:34:52 +0000 (21:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102916 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.xml

index 11f941462139f2e3e259a318d5d4baec6aed3562..5e71208ff1b266ca1e4f0c3e10bb3470e02521a4 100644 (file)
@@ -991,6 +991,14 @@ Result:
 
                   <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>
@@ -1014,10 +1022,14 @@ Result:
         Apache structures and (if not found there) via
         <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>
+        <li>There is the special format: 
+        <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