Re: [squid-users] Squid Rewrites

2016-06-24 Thread Amos Jeffries
On 25/06/2016 6:39 a.m., Bidwell, Christopher wrote: > Hi all, > > Just curious if you could help me figure out what the equivalent of this > apache rule would be for squid: > > RewriteRule ^/dyfi/?$ http://servername.com/data/dyfi/ > [R=301,L] > Below, with the comments

Re: [squid-users] Conditional IPv6 usage

2016-06-24 Thread Amos Jeffries
On 25/06/2016 6:27 a.m., Stefan Hölzle wrote: > Hello, > > I'm having trouble configuring a forward proxy. > My goal is the following: > Only for one destination domain IPv6 should be used, otherwise IPv4. This is not how the Internet Protocol (IP) works. If a domain is advertising IPv6

[squid-users] Squid Rewrites

2016-06-24 Thread Bidwell, Christopher
Hi all, Just curious if you could help me figure out what the equivalent of this apache rule would be for squid: RewriteRule ^/dyfi/?$ http://servername.com/data/dyfi/ [R=301,L] ___ squid-users mailing list

Re: [squid-users] ecap adaper

2016-06-24 Thread joe
if i do with regex it work it bypass it acl redirecturls url_regex -i \/snc\/api2 adaptation_access gzip_service allow HTTP_STATUS_OK !redirecturls this preventing method dose not work acl nomethod method POST adaptation_access gzip_service allow HTTP_STATUS_OK !nomethod -- View this message

[squid-users] Squid question with letsencrypt

2016-06-24 Thread Bidwell, Christopher
Hi all, I'm very new to squid and we are wanting to implement letsencrypt for our ssl certificates. Here's the scenario: We've got several frontend servers running squid that are caching from the backend systems. i.e. test.com -> 10.0.0.1, 10.0.1.1, 10.0.2.1 (all physically separated from one

Re: [squid-users] flickr.com redirect error

2016-06-24 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Be careful, guys. Via is reauired to HTTP by RFC. 24.06.2016 21:40, Ozgur Batur пишет: > Hi Rafael, Yuri, > > Thank you very much, "via off" did the trick. It is probably a server specific issue as you said. > > Best Regards, > > On Fri, Jun 24,

Re: [squid-users] flickr.com redirect error

2016-06-24 Thread Ozgur Batur
Hi Rafael, Yuri, Thank you very much, "via off" did the trick. It is probably a server specific issue as you said. Best Regards, On Fri, Jun 24, 2016 at 6:29 PM, Rafael Akchurin < rafael.akchu...@diladele.com> wrote: > Hello Ozgur, Yuri, > > > > I also see this error. Actually it is even

Re: [squid-users] flickr.com redirect error

2016-06-24 Thread Rafael Akchurin
Hello Ozgur, Yuri, I also see this error. Actually it is even present on videos.yahoo.com if I am not mistaken. The reason for this is unclear for me (incorrect handling of “Via” header by some of back office servers of Yahoo???) I was able to fix it by setting “via off” in squid.conf. I am

Re: [squid-users] flickr.com redirect error

2016-06-24 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hm. My opinion is the same - this is redirection loop. Just need to localize it. 24.06.2016 20:23, Ozgur Batur пишет: > Hi Yuri, > > Thank you. I put the #301 loop directives and restarted squid unfortunately result is the same. Here is the

Re: [squid-users] flickr.com redirect error

2016-06-24 Thread Ozgur Batur
Hi Yuri, Thank you. I put the #301 loop directives and restarted squid unfortunately result is the same. Here is the access logs: 1466777191.791235 ::1 TCP_MISS/301 987 GET https://www.flickr.com/ - HIER_DIRECT/188.125.93.100 text/html 1466777192.031237 ::1 TCP_MISS/301 987 GET

[squid-users] ecap adaper

2016-06-24 Thread joe
hi wen using ecap adapter ecap_enable on acl HTTP_STATUS_OK http_status 200 loadable_modules /usr/local/lib/ecap_adapter_gzip.so ecap_service gzip_service respmod_precache ecap://www.vigos.com/ecap_gzip bypass=off adaptation_access gzip_service allow HTTP_STATUS_OK wen the link has status 200

Re: [squid-users] flickr.com redirect error

2016-06-24 Thread Yuri
Try to do something like: # 301 loop acl text_mime rep_mime_type text/html text/plain acl http301 http_status 301 store_miss deny text_mime http301 send_hit deny text_mime http301 24.06.2016 18:14, Ozgur Batur пишет: I receive too many redirects(301 responses with same page URL) error on

[squid-users] flickr.com redirect error

2016-06-24 Thread Ozgur Batur
I receive too many redirects(301 responses with same page URL) error on browser when opening https://www.flickr.com via Squid 3.5 proxy with SSL interception. If I connect to flickr website directly without Squid error does not happen. I tested it on two different systems one is Centos other is

Re: [squid-users] Preparing for shutdown after xxx requests

2016-06-24 Thread David
we have reinstalled cleanly Squid, have squid -z and it works for some time, then squid terminates with: DiskThreadsDiskFile::openDone: (2) No such file or directory the original config file is the one below. thank you - David 2016/06/24 06:26:53 kid1| Set Current Directory to