Re: [squid-users] Virtual hosts + 127.0.0.1 problems

From: David Brown <david@dont-contact.us>
Date: Tue, 25 Jun 2002 16:35:45 +0100

> See the 'uses host header' directive.

I've enabled httpd_accel_uses_host_header

Now, I would expect that as I've added the following to my /etc/hosts

127.0.0.1 localhost mydomain.com

that when a mydomain.com request is handled by squid, it would make a
request to mydomain.com:80, which the machine would map that to 127.0.0.1:80
where Apache is sat.

That's what you'd think anyway.. but I just get the same error : WARNING:
Forwarding loop detected for.....

Does this suggest that the machine (or Squid) isn't resolving mydomain.com
as 127.0.0.1, but instead the real IP ?
Received on Tue Jun 25 2002 - 09:36:05 MDT

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