Reverse Proxy and base href woes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As I move over to a new server at home, I am left with a legacy java/tapestry financial application I wrote some while ago and which would be a pain to relearn to change anything (since I am about to rewrite it anyway). Since it runs under tomcat just fine on the original server, I am trying to use reverse proxy on my new (internet facing) server to access it.

Below is the small segment from my <VirtualHost _default_:443> context relating to the reverse proxying of this application on the internet facing server - money.chandlerfamily.org.uk resolves to a 192.168.x.x address inside my home

	<Location /akcmoney/>
...		
		ProxyPass          http://money.chandlerfamily.org.uk/akcmoney/
     		ProxyPassReverse   http://money.chandlerfamily.org.uk/akcmoney/
ProxyPassReverseCookieDomain money.chandlerfamily.org.uk www.chandlerfamily.org.uk
	</Location>


Most of it is working fine - except some of the internal links. These are host independent, but I notice that the application itself is generating <base href="http://money.chandlerfamily.org.uk/akcmoney/"/> in the pages it generates, and this is causing my browser to try and access the internal server directly. Since I have security controls to prevent access to this server from anywhere but the reverse proxy, it fails.

I was under the impression the mod_proxy_http was supposed to fix this up.

However I am totally confused. There are articles on the internet talking about proxyHTML type directives, yet the documentation for mod_proxy_html for apache 2.2 (using from Debian Lenny) says there are no directives for this mod.

How do I get mod_proxy_html to correct this base href code?




---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux