trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "andrew.ashcroft@holidaylettings.co.uk" <andrew.ashcr...@holidaylettings.co.uk>
Subject Issues with reverse proxy remapping absolute links
Date Tue, 13 Dec 2011 12:14:16 GMT
Hi,

I've just setup ATS as a reverse proxy and it's mostly working as expected but I can't figure
out how to rewrite the URLs on the origin server.

For example, we have:

Internet --> ATSserver.com --> originserver.com

When visiting ATSserver.com, ATS is caching and the page from originserver.com is displaying
as expected but as the links on originserver.com are absolute (e.g originserver.com/page2.html),
when they are clicked, the browser goes to origingserver.com and not ATSserver.com.

Is there a way to get ATS to rewrite the base href so that all requests will go through the
reverse proxy?

Remap.config has:

map             http://atsserver.com	http://originserver.com
reverse_map     http://originserver.com 	http://atsserver.com

Thanks in advance for any help,

Andrew

Mime
View raw message