From: Madhusudan Mathihalli Date: Tue, 9 Mar 2004 17:58:46 +0000 (+0000) Subject: Enable mod_rewrite to recognize SSL variables (using ssl_var_lookup) X-Git-Tag: pre_ajp_proxy~568 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff20e78b5146793c7559deb281ca9590231a4156;p=apache Enable mod_rewrite to recognize SSL variables (using ssl_var_lookup) Submitted by: Joe Orton Reviewed by: Madhusudan Mathihalli git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102905 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index ffc82b21a5..adac282caf 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) mod_rewrite: Support for recognizing SSL variables in RewriteCond + using the new "SSL:" format. [Joe Orton, Madhusudan Mathihalli] + *) mod_setenvif: Remove "support" for Remote_User variable which never worked at all. PR 25725. [André Malo] diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index 12aa6ec82d..bf1f6456f5 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -530,6 +530,7 @@ Result: REQUEST_URI
REQUEST_FILENAME
IS_SUBREQ
+ HTTPS
@@ -604,6 +605,11 @@ Result: Apache structures and (if not found there) via getenv() from the Apache server process. +
  • There is the special format: + %{SSL:variable} where variable can be + any SSL environment variable. This is looked-up via internal + SSL structures from the Apache server process.
  • +
  • There is the special format: %{HTTP:header} where header can be any HTTP MIME-header name. This is looked-up from the HTTP @@ -1779,4 +1785,4 @@ RewriteRule ^/([^/]+)/~([^/]+)/(.*)$ /u/${real-to-user:$2|nobody}/$3.$1 - \ No newline at end of file + diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 9d685efcb2..11f9414621 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -939,6 +939,7 @@ Result: REQUEST_URI
    REQUEST_FILENAME
    IS_SUBREQ
    + HTTPS
    @@ -1013,6 +1014,11 @@ Result: Apache structures and (if not found there) via getenv() from the Apache server process.
  • +
  • There is the special format: + %{SSL:variable} where variable can be + any SSL environment variable. This is looked-up via internal + SSL structures from the Apache server process.
  • +
  • There is the special format: %{HTTP:header} where header can be any HTTP MIME-header name. This is looked-up from the HTTP