I've got mod_proxy and mod_proxy_html installed. Currently the site is being proxied fine. But the links that are http://192.168.2.20 are not getting rewriten by mod_proxy_html to be correct. I've tried many different combinations of strings for ProxyHTMLURLMap but none seem to make a difference. Its running on ubuntu 8.10
So anyone have any ideas? :P
###Proxy to MB Host 192.168.2.20
ProxyHTMLURLMap http://192.168.2.20/ /
allow from all
I don't use mod_proxy_http exactly because documentation is a problem. Just the reverse examples from the mod_proxy page should do what you're after.
But i need the URL's rewriting and mod_proxy alone can't do that can it?
What exactly do you want to do?
Rewrite the links on the page's proxied to be the correct external site. Cause currently they're saying 192.168.2.20/etc...
By the looks of mod_proxy_html it should be working.
I've just had to do this myself and this is the code I used:
And that seemed to work...
ProxyPass /oliver/ http://app1/oliver/
ProxyHTMLURLMap http://app1/ /