Re: [squid-users] URLs with no .s in them

From: Daniel Corbe <dcorbe@dont-contact.us>
Date: Thu, 15 Apr 2004 19:50:55 -0400

Well that's a bit better
now I get

    The requested URL could not be retrieved

------------------------------------------------------------------------

While trying to retrieve the URL: http://mars/

The following error was encountered:

    Unable to determine IP address from host name for /mars/

The dnsserver returned:

    Name Error: The domain name does not exist.

This means that:

 The cache was not able to resolve the hostname presented in the URL.

 Check if the address is correct.

Your cache administrator is webmaster <mailto:webmaster>.

------------------------------------------------------------------------
Generated Thu, 15 Apr 2004 23:50:19 GMT by fw1.resultstel.com
(squid/2.5.STABLE5)

Ariel Molina Rueda wrote:

>I had a similar problem, it was a squid.conf issue, just check that you have
>this:
>
> * httpd_accel_host virtual
> * httpd_accel_port 80
> * httpd_accel_with_proxy on
> * httpd_accel_uses_host_header on
>
>it may help.
>
>--
>Ariel Molina Rueda
>
>Mensaje citado por Daniel Corbe <dcorbe@resultstel.com>:
>
>
>
>>Hey,
>>
>>I'm using URLs from my client PCs with no .s in them, just the host name
>>without the domain name
>>
>>for example: mars as opposed to mars.resultstel.com since the local
>>resolvers are all configured to search .resultstel.com
>>
>>and I get the following error even though the squid box itself is
>>capable of resolving "mars":
>>bash-2.05b# host mars
>>mars.resultstel.com has address 146.82.194.225
>>
>>I even tried using this config option:
>>append_domain .resultstel.com
>>
>>to no avail.
>>
>>What do I do to fix it?
>>
>>ERROR
>>The requested URL could not be retrieved
>>
>>
>>
>>
>--------------------------------------------------------------------------------
>
>
>>While trying to retrieve the URL: /bb/
>>
>>The following error was encountered:
>>
>>Invalid URL
>>Some aspect of the requested URL is incorrect. Possible problems:
>>
>>Missing or incorrect access protocol (should be `http://'' or similar)
>>Missing hostname
>>Illegal double-escape in the URL-Path
>>Illegal character in hostname; underscores are not allowed
>>Your cache administrator is webmaster.
>>
>>
>>
>>
>>
>
>
>
>
>----------------------------------------------------------------
>This message was sent using IMP, the Internet Messaging Program.
>
>
>
>
Received on Thu Apr 15 2004 - 17:50:57 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT