httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] mod_proxy over mod_rewrite precedence
Date Wed, 15 Jun 2005 14:40:03 GMT
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


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.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message