On 14.06 19:31, Nuno Ferreira wrote: > And how can i set up that file ? the Squid and Apache server is > also a dnscache server (to resolve hosts to squid) and ig I put the > hosts on the hosts file it doesn't work... see the hosts_file directive. > -----Original Message----- > From: Matus UHLAR - fantomas [mailto:uhlar@xxxxxxxxxxx] > Sent: Tuesday, June 14, 2005 4:52 PM > To: squid-users@xxxxxxxxxxxxxxx > Subject: Re: [squid-users] Squid + web server on same machine > > that is a problem on lower networking level - NAT. You have to setup DNS > or hosts file for your apache vhosts, which squid would use, and that > would show the internal IP of apache, not external one. -- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "Where do you want to go to die?" [Microsoft]