[squid-users] hostname being stripped from url

From: Jason Ferrell <[email protected]>
Date: Thu, 15 Jan 2004 14:48:06 -0600

When I try to access a website through my squid server, the hostname is
stripped from the url, then squid tries to access the site, and obviously
can't find it.
I'm getting an error page like below.

***********************************************************************
ERROR
The requested URL could not be retrieved

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

While trying to retrieve the URL: /

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 root.

-----------------------------------------------------------------------
Generated Thu, 15 Jan 2004 20:17:20 GMT by Firewall (Squid/2.4.STABLE7)
***********************************************************************

I get the above message if I try to access www.yahoo.com, www.google.com, or
any other hostname. If I try to access something like
www.google.com/help.html, then the third line is changed to
While trying to retrieve the URL: /about.html
It appears that squid is stripping off the hostname. I am using squidGuard
as a redirector. The logs for squidGuard suggest that the hostname is
stripped prior to squidGuard processing.
Received on Thu Jan 15 2004 - 13:48:30 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:06 MST