Subject: rewrite data form client certificate

From: "mario eugster" <[email-masked]>
Date: Mon, 17 Mar 2003 20:36:40 +0100

Hi

I am trying to get the SSL_CLIENT_S_DN_CN from a client certificate
to use it in a RewriteRule. But I always get empty quary string. The config
is as following:

SSLOptions +StdEnvVars

RewriteEngine On
RewriteLog logs/rewrite.log
RewriteLogLevel 9
RewriteCond %{ENV:SSL_CLIENT_S_DN_CN} ^Simpson*
RewriteRule  ^/$                 /dir/index.html
[L]

Can I get environment variable like SSL_CLIENT_XXX within Rewrite Module? Or
are there any other possibilities to get access to them?

thanks for your help
mario