Re: [squid-users] How to rotate Cache.log

2011-09-30 Thread Amos Jeffries
On Fri, 30 Sep 2011 00:30:01 +0200, John Kimble wrote: Hi all, My cache file is getting too big (250mb) so it becomes really hard to view the log file. I tried to rotate is using Squid -k rotate but it does nothing to either the cache.log or access.log. I read about using debug_options

Re: [squid-users] How to rotate Cache.log

2011-09-30 Thread Helmut Hullen
Hallo, Amos, Du meintest am 30.09.11: My cache file is getting too big (250mb) so it becomes really hard to view the log file. [...] Question is though why your cache.log is getting so big in the first place. It should only have rare messages about serious problems. That can happen.

[squid-users] Krb auth and case/realm

2011-09-30 Thread Emmanuel Lacour
Hi squid users, it seems that when doing krb auth, proxy_auth acl are case sensitive and must contain the realm (like what is logged in squid access log). is there a way to change this, because when using squid_ldap_auth as fallback, I have to put names twice such as: acl administrator

Re: [squid-users] Krb auth and case/realm

2011-09-30 Thread Emmanuel Lacour
For the case problem, I RTFM ...: acl administrator proxy_auth -i administrator@test.local For the realm, I can use the proxy_auth_regex, but it would be really easier if there is a way to really strip the realm part. acl administrator proxy_auth_regex -i ^(administrator|foo)(@.*)?$ to allow

[squid-users] Redirect Cached on deny_info

2011-09-30 Thread 0xception
Hi, So i'm attempting to setup squid to interact with a hotspot/portal system where squid uses deny_info to redirect users to a terms page. Once they login their packets are marked and do not go through the proxy anymore. However when i configure squid to use deny_info like below it seems to

[squid-users] Re: Two authentication helpers in one instance

2011-09-30 Thread Markus Moeller
Hi Rafael, squid_kerb_auth can not handle basic authentication. You need an auth handle which can use the username/password from basic authentication. It is not a good idea to use the domain username/password with basic auth and not SSL encryption. Does skype or your other clients work

[squid-users] Re: Basic hierarchical configuration

2011-09-30 Thread Erico Augusto Cavalcanti Guedes
Simplifying: how to configure a cache cluster node as a child on the parent one? Just one parent and 3 children. Thanks, Erico. 2011/9/29 Erico Augusto Cavalcanti Guedes e...@cin.ufpe.br: Dears, does anyone have a section of a squid configuration file that shows a basic hierarchical

Re: [squid-users] Re: Two authentication helpers in one instance

2011-09-30 Thread Rafał Zawierta
Hi Rafael,  squid_kerb_auth can not handle basic authentication. You need an auth handle which can use the username/password from basic authentication. It is not a good idea to use the domain username/password with basic auth and not SSL encryption. Does skype or your other clients work

[squid-users] Re: 301 redirection with Squid based on URL (is Squirm the fastest way?)

2011-09-30 Thread Manuel
Than you for your answer. Finally I do not like Squirm for this case since I need the page to not be cached. Thefore my idea is to use a specific cache_peer for any domain different than the main one in order to (1st) point all them to the main one and (2nd) avoid the use of an external

[squid-users] Re: 301 redirection with Squid based on URL (is Squirm the fastest way?)

2011-09-30 Thread Manuel
Forget about the previous code, there was some errors. Something like this is my idea to deal with the redirections: cache_peer 172.20.1.3 parent 80 0 no-query no-digest originserver name=mainweb acl maindomain dstdomain www.my.domain cache_peer_access mainweb allow maindomain cache_peer_access

[squid-users] gzip with Squird working fine with our site but not with our vbulletin forum. Any advice?

2011-09-30 Thread Manuel
Hi We have Squid in the main site and it is delivering content gzipped perfectly but on the forum when we have HITs (always guests) a lot of the times (maybe most of them) the content is delivered without the gzip header. The webserver is lighttpd and gzip is configured in vBulleting settings

Re: [squid-users] Re: Basic hierarchical configuration

2011-09-30 Thread Amos Jeffries
On Fri, 30 Sep 2011 15:18:55 -0300, Erico Augusto Cavalcanti Guedes wrote: Simplifying: how to configure a cache cluster node as a child on the parent one? Just one parent and 3 children. The children are just regular clients to the parent. So you need http_access rules allowing them access,

Re: [squid-users] lost connection - reconnect automatically

2011-09-30 Thread Amos Jeffries
On Wed, 28 Sep 2011 15:26:27 +0100, J. Webster wrote: I have a squid service with ncsa user auth (login/password). We have one user who loses their internet connection intermittently and is continually being re-presented with the login prompt. Presumably, the server / browser thinks they have

Re: [squid-users] policy based routing from cisco router for squid tproxy

2011-09-30 Thread Amos Jeffries
On Wed, 28 Sep 2011 11:01:35 -0500, Luis Daniel Lucio Quiroz wrote: 2011/9/28 Benjamin benjo11...@gmail.com:  Hi, I am looking for POLICY BASED ROUTING rules , which i need to use route web traffic to squid box which is configured for tproxy purpose.If someone tried it , please share your