Re: [squid-users] how to by pass a redirected page

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 13 Jul 2007 21:30:07 +0200

fre 2007-07-13 klockan 12:13 -0400 skrev Mehr Faridpour:
> Hi everybody,
>
> When my squid server accesses some pages it gets redirected (by my
> isp) to some specific page saying I cannot access the requested page
> (it is being filtered).

Via a 3xx redirect?

> However I have a peer_cache that my squid
> server could get any page I like via this peer_cache (it by passes the
> filtering). My question is this: How can I tell my squid server that
> if I request a page and it ends up to the redirected page ( i.e. it is
> filtered) then drop the redirected page and try to get the requested
> page via peer_cache?

You need to build a list of URLs you want to access but which are
blocked by the ISP, and set up cache_peer + cache_peer_access +
never_direct to have these routed via that other peer.

Regards
Henrik

Received on Fri Jul 13 2007 - 13:30:19 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT