> <VirtualHost *:9980>
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> ProxyRequests On
> #ProxyPreserveHost On
> ProxyPass /pizza/ http://10.10.1.1:9080/pizza/
> ProxyPassReverse /pizza/ http://10.10.1.1:9080/pizza/
> </VirtualHost>

For reverse proxying, you don't need ProxyRequests on, so are you sure you
want this? Running a reverse proxy and a forward proxy on the same port is
asking for problems.....

> So 9980 in effect is pretending to be 9080, and everything works
> great.  That is until, the application (that i don't have source for)
> uses the http request to hardcode the server IP/Port address in the
> http response body (untouchable by httpd)  Of course, the next fetch
> from the browser will fail, since it's trying to access a 10.x address
> instead of the correct 192.168 address.

You could use mod_proxy_html (http://apache.webthing.com/mod_proxy_html/)
to fix the pages, or, if you are stuck with 'official' modules: use an
external output filter to pipe the page through sed.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to