httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oss lover <>
Subject [users@httpd] mod_proxy problem during HTTP 302 when public and private ports are different
Date Mon, 23 Jan 2006 04:02:42 GMT
*Part from the httpd.conf:*

  ProxyRequests   Off
 ProxyPreserveHost On
 ProxyPass  /  http://privateserver:6666/
 ProxyPassReverse /  http://privateserver:6666/

*The end user request the following from the webserver*

*In turn proxy pass calls the application behind beautifully as expected. *

*Application sends a HTTP 302 with the following location/*

I expect proxypassreverse to take affect, replace the IP and port.
Unfortunately, proxypassreverse does not take affect or only replaces the IP
and the port remains intact(stays as 6666 instead of 80). As a result below
is the URL sent back to the user as a part of the 302.

Also P.S. it works for some of the HTTP 302s.

Any help is much appreciated.

    Windows 2000 server
    Apache 2.0.54

View raw message