Re: [squid-users] http-accelerator for two servers at the same time?

From: Brian <hiryuu@dont-contact.us>
Date: Thu, 07 Mar 2002 23:05:23 -0500

You can control that with acls (see dstdomain). I think you will need to
add those sites to /etc/hosts, too, or give squid its own DNS server.
Otherwise, squid will get itself as the origin server.

        -- Brian

On Thursday 07 March 2002 10:44 pm, newbie wrote:
> Thanks Brian. You are right, and this feature is somehow called "virtual
> host". But I still have a question though: how do I specify "I want to
> cache only foo.com and bar.com, not any other server" ? I mean, If I
> have to specify httpd_accel_host as "virtual", where can I specify
> foo.com and bar.com?
>
> Thanks,
> -newbie.
>
> Brian wrote:
> > On Thursday 07 March 2002 09:57 pm, you wrote:
> >>When squid is configured as a http-accelerator, is it possible to
> >> cache multiple servers (e.g. foo.com and bar.com) at the same time?
> >>
> >>Thanks.
> >
> > Yes. You probably want to enable the uses_host_header option, too.
Received on Thu Mar 07 2002 - 21:28:58 MST

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