httpd-users mailing list archives

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

Mime
View raw message