Part from the httpd.conf:
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://privateserver:6666/
ProxyPassReverse / http://privateserver:6666/
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.
Config:
Windows 2000 server
Apache 2.0.54