This server seems to be very picky about the User-agent used. Does not
actually seem to be a Squid problem at all.
If a request with the Konqueror User-Agent string logged below is sent
then the ASP code on that server crashes.
If a blank User-Agent, or one of Netscape is sent then it seems to work.
Also confirmed by trying some browsers:
If I use Konqueror going direct to the site then it fails.
Will probably start working for Konqueror users if you use the
anonymization feature of Squid to remove the User-Agent header, but then
many other sites will fail in similar manners..
-- Henrik Nordstrom Squid Hacker Nils Holland wrote: > > Concerning my SQUID problem with accessing the page > http://www.wizards.com/international/uk/gencon01.asp, I have now had a look > at squid's access.log. It looks interesting. Look at this line: > > 989697209.343 1347 192.168.0.3 TCP_MISS/500 314 HEAD > http://www.wizards.com/international/uk/gencon01.asp - DIRECT/209.67.104.31 > text/html [Connection: Keep-Alive\r\nUser-Agent: Mozilla/5.0 (compatible; > Konqueror/2.1.2; X11)\r\nAccept: text/*;q=1.0, image/png;q=1.0, > image/jpeg;q=1.0, image/gif;q=1.0, image/*;q=0.8, > */*;q=0.5\r\nAccept-Encoding: x-gzip; q=1.0, gzip; q=1.0, > identity\r\nAccept-Charset: iso-8859-1;q=1.0, *;q=0.9, > utf-8;q=0.8\r\nAccept-Language: en, en_US\r\nHost: www.wizards.com\r\nCookie: > ASPSESSIONIDGQGGGVTG=FHBABJOAGFKAKFJJCPJKAJJF\r\n] [HTTP/1.1 500 Internal > Server Error\r\nServer: Microsoft-IIS/5.0\r\nDate: Sat, 12 May 2001 19:52:43 > GMT\r\nConnection: keep-alive\r\nConnection: Keep-Alive\r\nContent-Length: > 330\r\nContent-Type: text/html\r\nSet-Cookie: > ASPSESSIONIDQQGQGUFG=BLBJDLOAJAFJJDMFPMKPFLKC; path=/\r\nCache-control: > private\r\n\r] > > As you can see somewhere in the middle, the webserver (MS IIS 5) replies with > "Internal Server Error". I really don't know why it does that and why it > stops doing it when I directly access the page without squid. Note that I > have seen the error with both konqueror and Netscape 6 (the later on both > Linux/X11 and Windows). > > I have build squid from source basically "as-is", without specifying too many > of the additional options. It has worked fine with basically all other > webpages. My configuration be be found at > http://www.nightcastleproductions.org/misc/squid.conf > An excerpt of my logfile from today that proves that squid otherwise works > fine can be found at http://www.nightcastleproductions.org/misc/access.log > > Again, I'm glad about all replies! > > NilsReceived on Sat May 12 2001 - 16:35:11 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:57 MST