Re: Domain Name Completion?

From: Plamen Nikolaev <pan@dont-contact.us>
Date: 20 Oct 1997 20:42:44 -0000

This was broken somewhere in the Netscape 4.0x betas. They fixed it
(at least for Linux). 4.03 looks up apple, then, if not found,
www.apple.com and fetches it through the proxy.

>>>>> "Oskar" == Oskar Pearson <oskar@is.co.za> writes:

    Oskar> Hi
>> Before using squid, our customers could type an URL like this
>> apple to be completed to http://www.apple.com
>>
>> I could configure "append_domain .com" so the input "apple" was
>> completed to "apple.com". But this requires that every company
>> configures the dns-entry of "companyxyz.com" being a cname to
>> "www.companyxyz.com".
>>
>> Is there any solution available?
    Oskar> This is actually a netscape problem... the whole idea is a
    Oskar> silly one actually.... people should know to type in
    Oskar> 'www.apple.com'.

    Oskar> When you turn on the proxy, netscape disables this feature,
    Oskar> and issues a request to the cache to get 'http://apple/'
    Oskar> instead of issuing a request to get 'http://www.apple.com/'
    Oskar> (it's default behavior).

    Oskar> You could use address-rewriting to say (you are going to
    Oskar> have to modify this to look like the example in the docs):

    Oskar> while (<>){ if (/\./){ print; } else { chop; print
    Oskar> "www.$_.com\n"; } } --
PGP public key available at the public keyservers and
at http://www.aster.net/pan.asc.
Received on Mon Oct 20 1997 - 13:49:47 MDT

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