diff options
author | Martin Kraemer <martin@apache.org> | 2005-07-22 14:36:25 +0200 |
---|---|---|
committer | Martin Kraemer <martin@apache.org> | 2005-07-22 14:36:25 +0200 |
commit | 17cad08ea518dbb53710b7aaa62d4b790202a400 (patch) | |
tree | 028a18b0bc4f7e14a8156938c199b56f30194a40 /docs | |
parent | Allow extraction of the values of SSL certificate extensions into (diff) | |
download | apache2-17cad08ea518dbb53710b7aaa62d4b790202a400.tar.xz apache2-17cad08ea518dbb53710b7aaa62d4b790202a400.zip |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/mod/mod_setenvif.xml | 17 |
1 files changed, 16 insertions, 1 deletions
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</description> <usage> <p>The <directive>SetEnvIf</directive> directive defines environment variables based on attributes of the request. The - <em>attribute</em> specified in the first argument can be one of three + <em>attribute</em> specified in the first argument can be one of four things:</p> <ol> @@ -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 <em>attribute</em>.</li> + +<li> + A reference to an extension of an SSL client certificate, located by + its object id <em>oid</em>. + If a non-SSL request, or in absense of the configured <em>oid</em>, + no variable will be set. If the <em>oid</em> is found multiple times, + the individual strings will be concatenated, separated by a comma <code>','</code>. + The <em>oid</em> should reference a string-valued extension. +</li> </ol> <p>The second argument (<em>regex</em>) is a <a @@ -220,6 +229,8 @@ of</p> :<br /> SetEnvIf object_is_image xbm XBIT_PROCESSING=1<br /> :<br /> + SetEnvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1<br /> + :<br /> SetEnvIf ^TS* ^[a-z].* HAVE_TS<br /> </example> @@ -229,6 +240,10 @@ of</p> the referring page was somewhere on the <code>www.mydomain.com</code> Web site.</p> + <p>The sixth example will set the <code>NetscapeComment</code> + environment variable to the string found in the corresponding + SSL client certificate field (if found).</p> + <p>The last example will set environment variable <code>HAVE_TS</code> if the request contains any headers that begin with "TS" whose values begins with any character in the |