From: Martin Kraemer
Date: Fri, 22 Jul 2005 12:36:25 +0000 (+0000)
Subject: Describe the new syntax:
X-Git-Tag: 2.1.7~5^2~78
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17cad08ea518dbb53710b7aaa62d4b790202a400;p=apache
Describe the new syntax:
SetenvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1
Ehhmm.... How do I make html from this again?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@220310 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_setenvif.xml b/docs/manual/mod/mod_setenvif.xml
index 41d8ded11e..5949d1db5a 100644
--- a/docs/manual/mod/mod_setenvif.xml
+++ b/docs/manual/mod/mod_setenvif.xml
@@ -135,7 +135,7 @@ respect to case
The SetEnvIf directive defines
environment variables based on attributes of the request. The
- attribute specified in the first argument can be one of three
+ attribute specified in the first argument can be one of four
things:
@@ -182,6 +182,15 @@ this manner. 'Earlier' means that they were defined at a broader scope
Environment variables will be considered only if there was no match
among request characteristics and a regular expression was not
used for the attribute.
+
+-
+ A reference to an extension of an SSL client certificate, located by
+ its object id oid.
+ If a non-SSL request, or in absense of the configured oid,
+ no variable will be set. If the oid is found multiple times,
+ the individual strings will be concatenated, separated by a comma
','
.
+ The oid should reference a string-valued extension.
+
The second argument (regex) is a
:
SetEnvIf object_is_image xbm XBIT_PROCESSING=1
:
+ SetEnvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1
+ :
SetEnvIf ^TS* ^[a-z].* HAVE_TS
@@ -229,6 +240,10 @@ of
the referring page was somewhere on the
www.mydomain.com
Web site.
+ The sixth example will set the NetscapeComment
+ environment variable to the string found in the corresponding
+ SSL client certificate field (if found).
+
The last example will set environment variable
HAVE_TS
if the request contains any headers that
begin with "TS" whose values begins with any character in the