Thanks for the great product! However, I am totally stressed out because I
pushed a new version of a proxied application into production because some
customers had problems with high ports and their firewalls.  Now the
application is broken for everyone!

I am using Apache 2.0.4.3 with mod_proxy.
When there is a redirect with a Location header, mod_proxy is rewriting it
to use the port from whence it came.  Normally, this would be okay.  The
problem is that the mod_proxy instance is not running on the same port as
the "public" site.    I am using a pics firewall to forward the requests
to the mod_proxy.

Is there a way to control the values that mod_proxy will use in a
ProxyPassReverse?


My problem is that I need to change the location header that is being sent
back to the client from mod_proxy to be the "public address"


Browser (https://www.x.com)
---->>>>

Pics Firewall  forwards request to internal web server running on HIGH
PORT (https://www.x.com:8943)
--->>>>

Web server for www.x.com on port 8943 receives request.  Forwards request
to internal application server.

ProxyPass       /               http://internal.x.com/
ProxyPassReverse        /       http://internal.x.com/


The client browser is receiving a location header of https://www.x.com:8943
I need it to be https://www.x.com
Just drop the port.

I understand that the simpliest solution would be to run on 80/443 and the
problem would go away.  But there are limited ip addresses in our dmz,
networking requests... etc...

Any other ideas?





Reply via email to