[squid-users] The requested URL could not be retrieved: invalid url

From: Dave Coventry <dgcoventry@dont-contact.us>
Date: Thu, 7 Feb 2008 14:50:02 +0200

Almost there!

Squid3.0.STABLE1 squid.conf:

================================
visible_hostname iqBase
http_port 3128 transparent
acl iqnet src 192.168.60.0/255.255.255.0
cache_dir ufs /usr/local/squid/var/cache 100 16 256
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl CONNECT method CONNECT
http_access allow iqnet
http_access allow manager localhost
http_access deny manager
http_access deny CONNECT !SSL_ports
icp_access allow iqnet
http_access deny all
icp_access allow iqnet
icp_access deny all
htcp_access allow iqnet
htcp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
access_log /usr/local/squid/var/logs/access.log squid
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_effective_user nobody
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
icp_port 3130
coredump_dir /usr/local/squid/var/cache
===================================

Contents of the access.log:

===================================
$ cat /usr/local/squid/var/logs/access.log
1202382009.744 0 192.168.60.199 NONE/400 1856 GET
/firefox?client=firefox-a&rls=org.mozilla:en-GB:official - NONE/-
text/html
1202382009.907 0 192.168.60.199 NONE/400 1760 GET /favicon.ico -
NONE/- text/html
1202382028.023 0 192.168.60.199 NONE/400 1738 GET / - NONE/- text/html
1202382046.868 0 192.168.60.199 NONE/400 1738 GET / - NONE/- text/html
1202382046.970 0 192.168.60.199 NONE/400 1760 GET /favicon.ico -
NONE/- text/html
1202387676.866 0 192.168.60.199 NONE/400 1856 GET
/firefox?client=firefox-a&rls=org.mozilla:en-GB:official - NONE/-
text/html
1202387677.121 0 192.168.60.199 NONE/400 1760 GET /favicon.ico -
NONE/- text/html
1202387691.774 0 192.168.60.199 NONE/400 2082 GET
/safebrowsing/update?client=navclient-auto-ffox&appver=2.0.0.11&version=goog-white-domain:1:23,goog-white-url:1:371,goog-black-url:1:18337,goog-black-enchash:1:44096
- NONE/- text/html
1202387700.522 0 192.168.60.199 NONE/400 1856 GET
/firefox?client=firefox-a&rls=org.mozilla:en-GB:official - NONE/-
text/html
===================================

Browser Display:

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

While trying to retrieve the URL:
/firefox?client=firefox-a&rls=org.mozilla:en-GB:official

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.
Generated Thu, 07 Feb 2008 12:35:00 GMT by iqBase (squid/3.0.STABLE1)
===================================

Can anyone see what's wrong?
Received on Thu Feb 07 2008 - 05:50:06 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST