Hi all,

following "apache as reverse-proxy : forwarding SSL environment variables", I just set up my proxy as below :

<VirtualHost A.B.C.D:443>
    ServerName www.domain.tld

RewriteEngine On
RewriteLogLevel 9
RewriteLog /tmp/rewrite.log

RewriteCond %{QUERY_STRING} subjectdn=
RewriteRule .* - [F]

RewriteMap escaper int:escape

RewriteCond %{SSL_CLIENT_S_DN} !^$
RewriteRule ^/(.*) http://www.domain.tld/$1?subjectdn=${escaper:%{SSL_CLIENT_S_DN}} [QSA,P]

    ProxyRequests Off
    ProxyPass / http://www.domain.tld/
    ProxyPassReverse / https://www.domain.tld/

# ssl config wrapped

</VirtualHost>
</IfDefine>

RewriteLog is empty even after many requests
I hopped at least to see if RewriteCond match or not

this made me to think that the request doesn't pass to mod_rewrite.
Of course this module is enabled.

Any idea ?

Thanks in advance.

 -G.-

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to