Re: [bmd@mp3.com] patches .

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 20 Nov 2000 23:46:47 -0700 (MST)

> The other fixes a problem with squid using it's non FQDN which breaks
> internal objects when append-domain is set among other things.
> See http://www.squid-cache.org/mail-archive/squid-dev/200008/0080.html
> for a better explanation of the problem.

There is another way to fix this.

as of version 2.4 there is a 'hostname_aliases' option. So
if gethostbyname() returns just 'bar' you can probably
add

hostname_aliases bar

the aliases are searched when we try to figure out if a
URL is "internal."

I have a slight problem with the proposed patch because
it instructs people to set visible_hostname if Squid
can not discover a name with a dot in it. So if you
set visible hostname to 'bar' and use 'append_domain'
you still have this problem where internal URLs
are not identified the way you'd like them to be.
Received on Mon Nov 20 2000 - 23:46:48 MST

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