Re: [squid-users] Squid Stores caches based on ips?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 19 Feb 2003 22:18:40 +0100

Don't use a redirector, use /etc/hosts instead (or a private DNS
server).

Regards
Henrik

On Wednesday 19 February 2003 18.07, Thiago Lima wrote:
> Hi,
>
> I'm using squid as accelerator mode with an own redirect
> program.
>
> My program redir.pl rewrites as follow :
>
> s/www.foo.bar/192.168.0.1/
> s/www.domain.bar/192.168.0.1/
> s/www.new.bar/192.168.0.2/
>
> The problem is that www.foo.bar and www.domain.bar allways gets
> messed up. Requesting one sometimes send me the other. I think
> squid stores de cache using the IP or the canonical name, not the
> Host: header. I'm correct here?
>
> If so, there's any other way to make it work?
>
>
> thanks alot.
> thiago lima.
Received on Wed Feb 19 2003 - 14:17:25 MST

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