Jump to content

Recommended Posts

Posted

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


       ServerName mb.jacknet.co.uk
       ###Proxy to MB Host 192.168.2.20
       
               ProxyPass http://192.168.2.20/
               ProxyPassReverse http://192.168.2.20/
               ProxyHTMLURLMap http://192.168.2.20/ /
               order deny,allow
               allow from all
       

 

Jack

  • Thanks 1
  • 4 weeks later...
Posted

I've just had to do this myself and this is the code I used:

 

 ProxyRequests Off
       #ProxyPreserveHost On
       ProxyPass /oliver/ http://app1/oliver/

       
               ProxyPassReverse /
               ProxyHTMLURLMap http://app1/ /
       

 

And that seemed to work...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...