<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
Hm. My opinion is the same - this is redirection loop. Just need to
localize it.<br>
<br>
<br>
24.06.2016 20:23, Ozgur Batur пишет:<br>
<span style="white-space: pre;">> Hi Yuri,<br>
><br>
> Thank you. I put the #301 loop directives and restarted squid
unfortunately result is the same. Here is the access logs:<br>
><br>
> 1466777191.791 235 ::1 TCP_MISS/301 987 GET
<a class="moz-txt-link-freetext" href="https://www.flickr.com/">https://www.flickr.com/</a> - HIER_DIRECT/188.125.93.100
<a class="moz-txt-link-rfc2396E" href="http://188.125.93.100"><http://188.125.93.100></a> text/html<br>
> 1466777192.031 237 ::1 TCP_MISS/301 987 GET
<a class="moz-txt-link-freetext" href="https://www.flickr.com/">https://www.flickr.com/</a> - HIER_DIRECT/188.125.93.100
<a class="moz-txt-link-rfc2396E" href="http://188.125.93.100"><http://188.125.93.100></a> text/html<br>
> 1466777192.386 352 ::1 TCP_MISS/301 987 GET
<a class="moz-txt-link-freetext" href="https://www.flickr.com/">https://www.flickr.com/</a> - HIER_DIRECT/188.125.93.100
<a class="moz-txt-link-rfc2396E" href="http://188.125.93.100"><http://188.125.93.100></a> text/html<br>
> 1466777192.612 223 ::1 TCP_MISS/301 987 GET
<a class="moz-txt-link-freetext" href="https://www.flickr.com/">https://www.flickr.com/</a> - HIER_DIRECT/188.125.93.100
<a class="moz-txt-link-rfc2396E" href="http://188.125.93.100"><http://188.125.93.100></a> text/html<br>
> ...<br>
><br>
> As I understand all responses are from origin server, there
is no cache hit with or without store_miss and send_hit. Confusing
part is when directly connected to server without proxy, flickr
server does not send 301 response. When squid sends the same
request somehow flickr server returns 301 with same URL. <br>
><br>
> Ozgur<br>
><br>
><br>
> On Fri, Jun 24, 2016 at 3:50 PM, Yuri <<a class="moz-txt-link-abbreviated" href="mailto:yvoinov@gmail.com">yvoinov@gmail.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:yvoinov@gmail.com"><mailto:yvoinov@gmail.com></a>> wrote:<br>
><br>
> Try to do something like:<br>
><br>
><br>
> # 301 loop<br>
> acl text_mime rep_mime_type text/html text/plain<br>
><br>
> acl http301 http_status 301<br>
><br>
> store_miss deny text_mime http301<br>
> send_hit deny text_mime http301<br>
><br>
><br>
> 24.06.2016 18:14, Ozgur Batur пишет:<br>
>> I receive too many redirects(301 responses with same
page URL) error on browser when opening <a class="moz-txt-link-freetext" href="https://www.flickr.com">https://www.flickr.com</a> via
Squid 3.5 proxy with SSL interception. If I connect to flickr
website directly without Squid error does not happen. <br>
>><br>
>> I tested it on two different systems one is Centos
other is Ubuntu. There is no acl, redirect or any other
configuration in squid.conf except enabling SSL interception.<br>
>><br>
>> I opened
<a class="moz-txt-link-freetext" href="http://bugs.squid-cache.org/show_bug.cgi?id=4537">http://bugs.squid-cache.org/show_bug.cgi?id=4537</a> for this issue
but later thought it is better to ask if you also experience the
same issue.<br>
>><br>
>><br>
>> Ozgur<br>
>><br>
>><br>
>> _______________________________________________<br>
>> squid-users mailing list<br>
>> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
>> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXbUaJAAoJENNXIZxhPexGGpwIAK4mYSAoZbIU96VbS3L/Xq+f
<br>
6taPqkZrvy9JPU3aS92qE0bSuJFjtQrJ9lz8W8zAygeljyhCgwct9/9qBCy1gX25
<br>
7Z6qJj4UTfS7dIxb5NnAq2CHovuKiqvv6HThBqQ9J8/bq3jYk7u3rNK60ZEMK2Wg
<br>
sHaVLDiJMVu9gFCiYWlaPnBpFvse20gqybwhrhysjdM94HWAGOT9Oe+YWxIdB+Fj
<br>
lq1Udt3i4EvHrz4tOOgf5gggUVTBk7VttcKhgko9hI+KnfL3S2Yk2phzWX4apVt4
<br>
aDV/LKzb8vU33jOR9fV/sIOS0TyeBcIm3lokDWNfjB1SEjxQxXNPI1iOVggQv0Q=
<br>
=Sr78
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>