httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@on-x.com
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

</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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message