rewrite data form client certificate

rewrite data form client certificate

am 17.03.2003 20:36:40 von mario eugster

This is a multi-part message in MIME format.

------=_NextPart_000_00ED_01C2ECC4.EA07A570
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_00ED_01C2ECC4.EA07A570
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">





size=3D3>Hi

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

SSLOptions +StdEnvVars

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

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

thanks for your=20
help
mario



------=_NextPart_000_00ED_01C2ECC4.EA07A570--


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org