</table>
<p>The <code class="directive">SetEnvIf</code> 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>
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 href="http://www.pcre.org/">Perl compatible regular expression</a>.
:<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 />
</code></p></div>
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
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 151408 -->
+<!-- English Revision: 151408:220310 (outdated) -->
<!--
Copyright 2002-2005 The Apache Software Foundation or its licensors,
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408 -->
+<!-- English Revision: 151408:220310 (outdated) -->
<!--
Copyright 2004-2005 The Apache Software Foundation or its licensors,