Not sure if I have answered this already..
You are correct. Squid will be confused if it is both used as an
accelerator and proxy and the proxy client is requesting a
accelerated site..
There is two ways out
a) Tell your proxy clients not to use Squid as a proxy for the
accelerated sites (the no-proxy for domains setting in your browser)
b) Use a redirector helper to mimic the accelerator redirection on
proxied requests for the accelerated domains.
Regards
Henrik
On Tuesday 26 March 2002 18:06, Bill McGonigle wrote:
> I'm having the same problem, and I'm not sure how one can avoid it
> with a server-side configuration.
>
> If the browser is configured to use squid as a proxy for all
> requests, and the squid is an httpd accelerator, then the request
> for the accelerated httpd has to go:
>
> browser->squid/proxy->squid/accelerator->real httpd server
>
> Does it not? Then there's a forwarding loop problem.
>
> In mozilla/netscape I can configure "No Proxy For:" with my domain
> name, and that works OK, but in IE, there doesn't seem to be that
> option. There is a "bypass proxy server for local addresses"
> option, which appears to do nothing at all, and a "Do not use proxy
> server for addresses beginning with" which is exactly opposite of
> what you'd want ("ending with").
>
> Even if I could get all my users to use Mozilla, it would be nice
> not to have to configure it on each machine.
>
> I'd love to hear I'm missing something.
>
> Thanks,
> -Bill
>
> On Tuesday, March 26, 2002, at 07:20 , Henrik Nordstrom wrote:
> > From: Henrik Nordstrom <hno@marasystems.com>
> > Date: Tue Mar 26, 2002 07:20:39 US/Eastern
> > To: favian ee <eefavian@yahoo.co.uk>
> > Cc: Squid users forum <squid-users@squid-cache.org>
> > Subject: Re: [squid-users] Forwarding loop error bug?
> >
> > You are most likely redirecting Squid back on itself when it
> > tries to go to port 80 on the Internet.
> >
> > Regards
> > Henrik Nordström
> > Squid Developer
> >
> > favian ee wrote:
> >> Dear All,
> >>
> >> I'm trying to run a transparent proxy with Squid
> >> 2.4STABLE but can't get it to run. It is configured
> >> both as a proxy and an accelerator. There's always
> >> this ERROR Access Denied page that comes up when I try
> >> to access pages through the proxy. There seems to be
> >> a forwarding loop error in my cache.log. I found the
> >> following in an earlier mail in the archives:
> >>
> >> On Thu, 5 Aug 1999, Jon Christopher Co wrote:
> >>> I am having exactly the same problems . If you try
> >>
> >> to access squid as http
> >>
> >>> accelerator, it works fine, If you set it as a
> >>
> >> proxy, it works fine, BUT, if
> >>
> >>> you set it as proxy, and try to access the page it
> >>
> >> is accellerating, it
> >>
> >>> gives that error. and I see a "forwarding loop"
> >>
> >> error in my cache.log
> >>
> >> Yes, there is a bug of sorts. No solution yet because
> >> I don't know
> >> what will be the best approach.
> >>
> >> Duane W.
> >>
> >> This was posted in 1999 and he was using 2.2STABLE.
> >> Is there a similar bug in 2.4? If there is, is there
> >> a version without the bug that I may use?
> >>
> >> Thanks,
> >> Favian
> >>
> >> __________________________________________________
> >> Do You Yahoo!?
> >> Everything you'll ever need on one web page
> >> from News and Sport to Email and Music Charts
> >> http://uk.my.yahoo.com
Received on Mon Apr 01 2002 - 14:22:22 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:18 MST