Re: [squid-users] help me, please, with squid 3.0 stable4 - not retry url with whitespaces

From: Amos Jeffries <[email protected]>
Date: Thu, 24 Apr 2008 00:39:25 +1200

ags67@mail.ru wrote:
>
> Hello!
>
> SQUID 3.0 Stable4 are compiled on Novell SLES 10 SP1
>
> Not retry url with whitespaces, for example - http://wiki.mozilla-russia.org
>
> In access.log:
>
> 1208927537.022 505 <Source IP> TCP_MISS/302 14865 GET
> http://wiki.mozilla-russia.org/ - DIRECT/195.18.35.94
> application/xhtml+xml [Host: wiki.mozilla-russia.org\r\nUser-Agent:
> Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.12) Gecko/20080201
> Firefox/2.0.0.12\r\nAccept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language:
> ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3\r\nAccept-Encoding:
> gzip,deflate\r\nAccept-Charset:
> windows-1251,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 300\r\nProxy-Connection:
> keep-alive\r\n] [HTTP/1.1 302 Moved Temporarily\r\nServer:
> nginx/0.6.29\r\nDate: Wed, 23 Apr 2008 06:15:12 GMT\r\nContent-Type:
> application/xhtml+xml; charset=UTF-8\r\nConnection:
> close\r\nX-Powered-By: PHP/4.4.7\r\nSet-Cookie:
> PHPSESSID=3118ffe35f83d8e5b71612b1752c3a92; path=/\r\nExpires: Thu, 19
> Nov 1981 08:52:00 GMT\r\nCache-Control: no-store, no-cache,
> must-revalidate, post-check=0, pre-check=0\r\nPragma:
> no-cache\r\nLocation: http://<Squid-Proxy
> IP>/index.php/ru/%25D0%2591%25D0%25B0%25D0%25B7%25D0%25B0%2520%25D0%25B7%25D0%25BD%25D0%25B0%25D0%25BD%25D0%25B8%25D0%25B9%2520%25D0%25BF%25D1%2580%25D0%25BE%25D0%25B5%25D0%25BA%25D1%2582%25D0%25B0%2520Mozilla%2520%25D0%25A0%25D0%25BE%25D1%2581%25D1%2581%25D0%25B8%25D1%258F\r\n\r]
> 1208927537.187 144 <Source IP> TCP_MISS/503 1688 GET
> http://<Squid-Proxy
> IP>/index.php/ru/%D0%91%D0%B0%D0%B7%D0%B0%20%D0%B7%D0%BD%D0%B0%D0%BD%D0%B8%D0%B9%20%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%D0%B0%20Mozilla%20%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F
> - DIRECT/<Squid-Proxy IP> text/html [Host: <Squid-Proxy
> IP>\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru;
> rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12\r\nAccept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language:
> ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3\r\nAccept-Encoding:
> gzip,deflate\r\nAccept-Charset:
> windows-1251,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 300\r\nProxy-Connection:
> keep-alive\r\n] [HTTP/1.0 503 Service Unavailable\r\nServer:
> squid/3.0.STABLE4\r\nMime-Version: 1.0\r\nDate: Wed, 23 Apr 2008
> 05:12:17 GMT\r\nContent-Type: text/html\r\nContent-Length:
> 1322\r\nExpires: Wed, 23 Apr 2008 05:12:17 GMT\r\nX-Squid-Error:
> ERR_CONNECT_FAIL 111\r\n\r]
>
> SQUID was compiled with options:
> --enable-icap-client --enable-default-err-language=Russian-1251
> --enable-err-languages=Russian-1251 --enable-linux-netfilter
> --disable-ident-lookups
>
> What I need changed?
>
> Thanks.
>
> Best Regards,
> Andrew,
> Russia,
> Moscow
>

The server at 195.18.35.94 "nginx/0.6.29" is doing weird redirections.

See my response to Alex Gau for details.

Amos

-- 
Please use Squid 2.6.STABLE19 or 3.0.STABLE4
Received on Wed Apr 23 2008 - 12:38:53 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT