httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Ho <>
Subject [users@httpd] mod_rewrite (with P flag) problem with mod_ssl (in Apache 2.0) ??
Date Tue, 04 Feb 2003 01:51:33 GMT
Hi,I've the following mod_rewrite rule (in Apache
2.0)that tries to redirect ssl traffic.

The strange thing is that the mod_rewrite rules
The rule got triggered and the proxy module also got
triggered (due to the P flag).  And the remote SSL
server also got contacted (I can see the remote
server's cert in my logfile).  But then, the remote
server abruptly terminated the connection for no

Is there anything that I have done wrong (below) or I
have missed something...

Thanks much.

RewriteMap  alphas  txt:/maps/alphas.https

RewriteCond %{THE_REQUEST} ^(CONNECT\ )([^/\ ]+)(.*)$
RewriteRule ^(.*)$  https://${alphas:%2}$1  [P,L]


My SSL directives are:
SSLProxyEngine on

SSLVerifyClient none
SSLProxyVerify none

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