Re: [squid-users] squid-users Digest, Vol 37, Issue 50

2017-09-21 Thread Amos Jeffries
On 22/09/17 14:37, Sukhbaatar T wrote: Hello. Yesterday virus attack my squid proxy server. Lost my all config. Can you give me congfig file normal for Windows. 50gb size on hdd for cash, youtube, fb cashing, 8 gb ram. Forgot many command line for quick access. Forgot link for example. Wind

Re: [squid-users] squid-users Digest, Vol 37, Issue 50

2017-09-21 Thread Sukhbaatar T
Saludos Cordiales Lic. Alex Gutiérrez Martínez -- next part -- An HTML attachment was scrubbed... URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170921/b2e55dac/attachment-0001.html> -- Message: 3 Date: Thu, 21 Sep 2

Re: [squid-users] delay pool not workin

2017-09-21 Thread Amos Jeffries
On 22/09/17 09:07, Alex Gutiérrez Martínez wrote: Could someone be so kind  to explain to me why my rules do not work on my delays pools? i got this acl "lento", in spanish means slow acl lento url_regex -i "/etc/squid3/bloqueo/lento" his format is the next: .youtube.com .facebook.com

Re: [squid-users] time error problem

2017-09-21 Thread Amos Jeffries
On 22/09/17 00:50, Alex Gutiérrez Martínez wrote: Hello everyone, i have an ubuntu 14.04 configured for time zone "Havana" on meridian -5. But when i get an error page on my squid, for whatever reason, it puts the time zone as if it were in meridian 0. Any idea why? Because the Internet runs

[squid-users] delay pool not workin

2017-09-21 Thread Alex Gutiérrez Martínez
Could someone be so kind  to explain to me why my rules do not work on my delays pools? i got this acl "lento", in spanish means slow acl lento url_regex -i "/etc/squid3/bloqueo/lento" his format is the next: .youtube.com .facebook.com My delay config is the next: #

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-21 Thread kAja Ziegler
> > There is no >60 need on the 301. Just me suggesting that 60sec is too > short caching time for a _permanent_ thing. There is - may be some misconfiguration in my squid.conf. If I set max-age to values from interval <1;60> only 302 and 307 redirects were cached (HIT) and no 301. When I increa

[squid-users] time error problem

2017-09-21 Thread Alex Gutiérrez Martínez
Hello everyone, i have an ubuntu 14.04 configured for time zone "Havana" on meridian -5. But when i get an error page on my squid, for whatever reason, it puts the time zone as if it were in meridian 0. Any idea why? Thanks in advance -- Saludos Cordiales Lic. Alex Gutiérrez Martínez __

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-21 Thread Amos Jeffries
On 21/09/17 22:16, kAja Ziegler wrote: Thats what the "must-revalidate" means. It should work better with just max-age or Expires header - and with a longer value than 60 sec since this is supposed to be a *permanent* situation. As I know "must-revalidate" mean "refuse to return sta

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-21 Thread kAja Ziegler
> > Thats what the "must-revalidate" means. It should work better with just > max-age or Expires header - and with a longer value than 60 sec since this > is supposed to be a *permanent* situation. As I know "must-revalidate" mean "refuse to return stale responses to the user even if they say tha

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-21 Thread Amos Jeffries
On 21/09/17 20:36, kAja Ziegler wrote: Hi Amos, 302 and 307 are not because as their status description indicates they are *temporary* results. They can only be cached if there are explicit details from the server indicating for how long. You were right. After I added header Cache-

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-21 Thread kAja Ziegler
Hi Amos, 302 and 307 are not because as their status description indicates they are > *temporary* results. They can only be cached if there are explicit details > from the server indicating for how long. > You were right. After I added header Cache-Control "max-age=60, must-revalidate" to the red

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-21 Thread kAja Ziegler
Thank you to pointing me on such nice tool. zigi On Tue, Sep 19, 2017 at 4:54 PM, Eliezer Croitoru wrote: > As you can see in the response headers there are no rules for caching: > < HTTP/1.1 307 Temporary Redirect > < Date: Tue, 19 Sep 2017 12:27:50 GMT > < Server: Apache > < Location: http://