I am running into a problem with a reverse proxy where dynamic
links to detail records are showing up referring to the main webserver on a 10
network instead of the NAT’d public address of the proxy. An example would be a link showing up from the proxy to the
end user’s browser as http://10.2.1.2/cgi-bin/
obviously won’t work and needs a rule so that any occurrence of 10.2.1.2
is replaced with 205.145.160.12 with the remainder of the URL left unchanged.
From my understanding the most appropriate way to do this
would be with mod_rewrite? Thanks, Jeff |