From a1f91181a4eaf1db36985cee76a0192760c6c689 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 27 Aug 2004 15:04:36 +0000 Subject: [PATCH] Backport HTTPS, SSL: variable lookups. Submitted by: Madhu, Joe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104855 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_rewrite.html.en | 18 ++++++++++++++++++ docs/manual/mod/mod_rewrite.xml | 20 +++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index 3586965c5fc..d4e967153af 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
@@ -581,6 +582,14 @@ Result:
The full local filesystem path to the file or script matching the request.
+ +
HTTPS
+ +
Will contain the text "on" if the connection is + using SSL/TLS, or "off" otherwise. (This variable + can be safely used regardless of whether + mod_ssl is loaded).
+ @@ -604,6 +613,15 @@ Result: Apache structures and (if not found there) via getenv() from the Apache server process. +
  • There is the special format: + %{SSL:variable} where variable is the + name of an SSL environment + variable; this can be used whether or not + mod_ssl is loaded, but will always expand to + the empty string if it is not. Example: + %{SSL:SSL_CIPHER_USEKEYSIZE} may expand to + 128.
  • +
  • There is the special format: %{HTTP:header} where header can be any HTTP MIME-header name. This is looked-up from the HTTP diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 2e99a59e21f..25cdd9ebc0a 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1,7 +1,7 @@ - +