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.
