Re: [PATCH] no_append_domain_localhost.patch

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sun, 16 Dec 2001 18:48:49 +1100

IMO this is worth having in squid, as a reasonable workaround to the
browser redirect approach (and where would localhost redirect to :} )

Rob
===
----- Original Message -----
From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: "Henrik Nordstrom" <hno@marasystems.com>
Cc: <squid-dev@squid-cache.org>
Sent: Thursday, December 13, 2001 10:34 PM
Subject: Re: [PATCH] no_append_domain_localhost.patch

> According to Henrik Nordstrom:
> > Miquel van Smoorenburg wrote:
> > > Ignore append_domain setting for the string "localhost".
> > Why?
>
> So you can browse http://localhost/ through a browser.
>
> Strange as it may seem, many people run squid on their personal
> workstation because it's caching is much more efficient than the
> mozilla/netscape builtin cache, and memory is cheap these days.
> I do - it really makes a difference behind a 64kbit ISDN line.
>
> And if you have append_domain set http://localhost/
> doesn't work anymore.
>
> > Anyway, my general opinion is that append_domain should be
completely
> > ripped out, replaced by a proper DNS search algorithm returning a
> > browser redirect when a FQDN is found for the requested name.
>
> I agree, it's just that this has been in the Debian squid package
> for some time since somebody had a real-life situation in which
> this was a problem.
>
> If you think it doesn't belong in squid I'll just keep it
> as a debian-specific patch until the above gets implemented in
> squid 2.6 or so ;)
>
> Mike.
> --
> I used to drive a Heisenberg mobile but every time I looked at the
> speedometer - I got lost!
>
Received on Sun Dec 16 2001 - 00:48:43 MST

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