[squid-users] Error when using Squid 2.7 as reverse proxy

From: Rene Wijninga <r.wijninga_at_communicationcompany.nl>
Date: Fri, 27 Mar 2009 18:05:12 +0100

Hi List,
 
I have a reverse Squid solution running on Squid 2.7 (default install when we installed Suse Linux Enterprise Server 11) which looks like this:
 
 
internet ------ firewal ----- Squid ----- firewall ----- webserver (internal - 10.32.31.4)
 
 
I have the following config (nothing else in my Squid.conf):
 
http_port 80 accel defaultsite=test.meandermc.nl
cache_peer 10.32.31.4 parent 80 0 no-query originserver name=myAccel
acl our_sites dstdomain test.meandermc.nl
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all
 
I get the following error when accessing this website form the outside world:
 
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to process the request:
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
Accept-Language: nl
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Host: test.meandermc.nl
Connection: Keep-Alive
Cookie: __utma=172590527.2814317123002897000.1238099909.1238099909.1238143940.2; __utmz=172590527.1238099909.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
The following error was encountered:
Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:
Missing or unknown request method
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
Content-Length missing for POST or PUT requests
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
 
--------------------------------------------------------------------------------
Generated Fri, 27 Mar 2009 15:20:31 GMT by dmz-lprx01.meandermc.nl (squid/2.7.STABLE5)
 
Does anybody have a clue what's going wrong here?
 
Any help would be greatly appreciated!
 
Best regards,
Rene
 
Received on Fri Mar 27 2009 - 17:05:25 MDT

This archive was generated by hypermail 2.2.0 : Fri Mar 27 2009 - 12:00:02 MDT