RE: [squid-users] Using squid 2.4 as an accelerator

From: Dustin Puryear <[email protected]>
Date: Mon, 10 Dec 2001 16:19:18 -0600

All I know is that the following gave me the error:

[--snip--]
http_port 0.0.0.0:80
visible_hostname gatekeeper.actioncore.com
cache_effective_user squid
cache_effective_group squid
acl all src 0.0.0.0/0.0.0.0
#acl LocalNet src 10.0.0.0/255.255.255.0
#acl AccelHost dst 10.0.0.22
#acl AccelPort port 80
# Allow anything to our accelerated hosts on port AccelPort
#http_access allow AccelHost AccelPort
# Allow anything from our local network
#http_access allow LocalNet
# Deny everything else
#http_access deny all
http_access allow all
#httpd_accel_host virtual
httpd_accel_host 10.0.0.22
httpd_accel_port 80
httpd_accel_uses_host_header on
[--snip--]

But by adding:

[--snip--]
redirect_program /usr/local/bin/squid_redirect.pl
redirect_children 30
redirect_rewrites_host_header off
[--snip--]

The problem was fixed.

Regards, Dustin

---
Dustin Puryear <dpuryear@usa.net>
Information Systems Consultant
http://members.telocity.com/~dpuryear
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams
> -----Original Message-----
> From: sean.upton@uniontrib.com [mailto:sean.upton@uniontrib.com]
> Sent: Monday, December 10, 2001 2:27 PM
> To: dpuryear@usa.net
> Cc: squid-users@squid-cache.org
> Subject: RE: [squid-users] Using squid 2.4 as an accelerator
>
>
> I don't think it matters if all requests go to the redirector,
> which is the
> default, unless you have bound this to an ACL to control which
> requests are
> redirected...
>
> Sean
>
> -----Original Message-----
> From: Dustin Puryear [mailto:dpuryear@usa.net]
> Sent: Monday, December 10, 2001 11:58 AM
> To: Henrik Nordstrom
> Cc: squid-users@squid-cache.org
> Subject: RE: [squid-users] Using squid 2.4 as an accelerator
>
>
> > These you get if you are running in accelerator mode without properly
> > telling Squid where to get the content from, ending up with Squid
> > contacting itself in a recursive loop.
> >
> > httpd_accel_host virtual
>
> FYI, in the configuration I gave I was using 'httpd_accel_host 10.0.0.22',
> not 'httpd_accel_host virtual', so shouldn't Squid just connect to
> 10.0.0.22? Anyway, this was fixed by using a redirector program
> anyway, even
> though I specified 10.0.0.22 as my destination.
>
> Regards, Dustin
>
> ---
> Dustin Puryear <dpuryear@usa.net>
> Information Systems Consultant
> http://members.telocity.com/~dpuryear
> In the beginning the Universe was created.
> This has been widely regarded as a bad move. - Douglas Adams
>
Received on Mon Dec 10 2001 - 15:11:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:18 MST