httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu, Ming" <>
Subject [users@httpd] ProxyPreserveHost and ProxyPass
Date Tue, 08 Jun 2004 17:46:28 GMT
I am using Apache 2.0.49 as a reverse proxy server.  Recently I enabled
ProxyPreserveHost directory and ran into this interesting problem.
ProxyPass and ProxyPassReverse no longer works the same way.  It works fine
with those URLs of the proxied site as
<> .  But it does not work with the URLs of
the proxied site as <> 


The following is my virtual host configuration:

RewriteEngine On
ProxyPreserveHost On
ProxyRequests On
ProxyPass        /test1/
ProxyPassReverse /test1/

ProxyPass 	/test2/ <> 
ProxyPassReverse /test2/ <> 

Before the ProxyPreserveHost is set to On, everything works fine.  But when
ProxyPreserveHost has been turned on, only test1 works fine, test2 stop

Thank you in advance for any suggestions.

Ming Yu
Applied Physics Laboratory
Johns Hopkins University
Laurel, MD 20723

View raw message