httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mario eugster" <>
Subject [users@httpd] rewrite module + mod-ssl > get client certificate data
Date Mon, 17 Mar 2003 19:30:14 GMT

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

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

View raw message