Re: [squid-users] Squid in accelerator mode

From: Jack <sa_jill@dont-contact.us>
Date: Tue, 26 Feb 2002 16:09:09 +0530

Hello Henrik,
Thanks
How to configure if squid is working as accelerator for multiple domains (ie
for different domains single squid machine).

thanks
Jack

----- Original Message -----
From: Squid Support (Henrik Nordstrom) <hno@marasystems.com>
To: Jack <sa_jill@yahoo.co.uk>; Squid Users <squid-users@squid-cache.org>
Sent: Tuesday, February 26, 2002 2:15 PM
Subject: Re: [squid-users] Squid in accelerator mode

> According to your config file you are trying to do IP based virtual
> hosting but haven't specified a redirector that can map the virtual
> IP addresses to the site names so Squid won't know where to send the
> requests.
>
> Probably you do not really want to do IP based virtual hosting but
> name based virtual hosting.
>
> Recommended changes:
>
> From:
> httpd_accel_host virtual
> To:
> httpd_accel_host your.primary.web.site
> httpd_accel_uses_host_header on
> Reason:
> This is the proper setup for name based virtual hosting
>
> From:
> http_access allow all
> To:
> acl my_servers dst ip.of.your.server1 ip.of.your.server2 ...
> acl HTTP protocol HTTP
> acl port80 port 80
> http_access allow HTTP port80 my_servers
> http_access deny all
> Reason:
> You need to have good access controls, or else your proxy will be
> wide open to the world for any use, not only to access your servers.
>
>
> Regards
> Henrik Nordström
>
>
> On Tuesday 26 February 2002 07:06, Jack wrote:
> > Hello All,
> >
> > I was not able to run squid in accelerator mode for multiple
> > server. I configured private DNS for servers.
> >
> > When i browse i get Access denied page in browser and 403 error in
> > access.log
> >
> > I have attached squid.conf file also.
> >
> > Thanks
> > Jack
>
> --
> MARA Systems AB, Giving you basic free Squid support
> Customized solutions, packaged solutions and priority support
> available on request


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Received on Tue Feb 26 2002 - 03:28:24 MST

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