Re: [squid-users] Absolute url links bypass Squid

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Thu, 11 Feb 2010 15:51:15 +0100

On 31.01.10 08:42, fulan Peng wrote:
> I want to make a reverse proxy for a very bad web site. In this web
> site, all contents have absolute url address.
> I can only get its home page. When I click on any page on the home
> page, it will bypass Squid and show the backend web site to the
> browser.
>
> Say, the web site is http://www.example.com. It has
> http://www.example.com in front of all of its pages. Like,
> http://www.example.com/page1.html, http://www.example.com/page2.html.
> If I am the web site administrator, I would delete all
> http://www.example.com and let it be /page1.html, /page2.html.
> This will fix the problem, right? Unfornately, I am not.
>
> How to fix this problem for Squid?
>
> I failed to try with Apache mod_proxy and mod_proxy_html. And no luck
> with Squid+Squirm.

if nor mod_proxy_html,
I'd try ICAP, but first try to find a program that really can remove the
host part from links (not from comments or text)

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol. 
Received on Thu Feb 11 2010 - 14:51:25 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 18 2010 - 12:00:06 MST