[users@httpd] mod_proxy over mod_rewrite precedence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux