*nix Thread, Apache2 ProxyHTMLURLMap in Technical; 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 ...
3rd August 2009, 05:58 AM #1
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
3rd August 2009, 09:43 AM #2
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.
4th August 2009, 01:13 AM #3
But i need the URL's rewriting and mod_proxy alone can't do that can it?
4th August 2009, 08:34 AM #4
What exactly do you want to do?
4th August 2009, 03:20 PM #5
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.
2nd September 2009, 11:17 AM #6
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/ /
Last Post: 20th November 2008, 10:19 AM
Last Post: 17th November 2008, 04:20 PM
By localzuk in forum *nix
Last Post: 7th June 2008, 11:12 PM
Last Post: 5th December 2007, 02:15 PM
By jasonyates in forum How do you do....it?
Last Post: 6th November 2007, 11:03 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread