Re: [squid-users] rewrite feature, internal redirector... need help again

2008-12-25 Thread Amos Jeffries
chudy fernandez wrote: #!/usr/bin/perl $|=1; while (<>) { @X = split; if (($X[4] =~ /POST/) && ($X[1] =~ /files\/[0-9]*\/[0-9]*/)) { print "$X[0] 302:$X[1]\n"; } else { print "$X[0] $X[1]\n"; } } note: url_rewrite_children 1 url_rewrite_concurrency 99 how to do th

[squid-users] rewrite feature, internal redirector... need help again

2008-12-25 Thread chudy fernandez
#!/usr/bin/perl $|=1; while (<>) { @X = split; if (($X[4] =~ /POST/) && ($X[1] =~ /files\/[0-9]*\/[0-9]*/)) { print "$X[0] 302:$X[1]\n"; } else { print "$X[0] $X[1]\n"; } } note: url_rewrite_children 1 url_rewrite_concurrency 99 how to do this in rewrite feature?..

Re: [squid-users] upload

2008-12-25 Thread ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░
so that request_body_max_size mean LIMIT / block is there anyway to not block but limit upload like delaypoll do ? On Fri, Dec 26, 2008 at 11:10 AM, Amos Jeffries wrote: > ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote: >> >> On Thu, Dec 25, 2008 at 6:56 PM, Ken Peng wrote: >>> >>> request_body_max_size 0

Re: [squid-users] upload

2008-12-25 Thread Amos Jeffries
░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote: On Thu, Dec 25, 2008 at 6:56 PM, Ken Peng wrote: request_body_max_size 0 KB that mean no max size ? or ? means no size limited. see squid.conf. if i put : request_body_max_size 100 KB then user only can upload 100KB or can be more than 100 KB but they

Re: [squid-users] upload

2008-12-25 Thread ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░
On Thu, Dec 25, 2008 at 6:56 PM, Ken Peng wrote: > > > >> request_body_max_size 0 KB >> >> that mean no max size ? or ? > > means no size limited. see squid.conf. > if i put : request_body_max_size 100 KB then user only can upload 100KB or can be more than 100 KB but they will get delay

[squid-users] Re: Delay pools bucket refill

2008-12-25 Thread Johannes Buchner
On Tue, 23 Dec 2008 11:01:33 -0800 (PST) Chuck Kollars wrote: > > ... If I make a time-based acl with a delay-pool, does it refill > > in the time the acl is inactive or is the amount "stopped" and > > continued when the acl starts again? > > It doesn't matter hardly at all. The bucket will "

Re: [squid-users] Reverse proxy

2008-12-25 Thread Ken Peng
Dear All, Can you please assist me to configure squid as a reverse proxy, where to start or what documents to read ? http://wiki.squid-cache.org/SquidFaq/ReverseProxy

Re: [squid-users] upload

2008-12-25 Thread Ken Peng
request_body_max_size 0 KB that mean no max size ? or ? means no size limited. see squid.conf.

Re: [squid-users] load balancing

2008-12-25 Thread Amos Jeffries
Amos Jeffries wrote: andre wang wrote: hi any details? On Tue, Dec 23, 2008 at 10:38 PM, Ken Peng wrote: Hi All, any links on how to configure load balancing of squid See the default squid.conf, :) http://www.suid-cache.org/Doc/config/ bah. having a typo-day today: that should be

Re: [squid-users] Handling websites that switch between http & https

2008-12-25 Thread Amos Jeffries
Chuck Kollars wrote: ... This is all related to our users getting yahoo mail, the session toggles back and forth and I suspect that is what is causing them to be logged out of the mail interface when attempting to dl an attachment. I was thinking that had something to do with the proxy handlin

Re: [squid-users] load balancing

2008-12-25 Thread Amos Jeffries
andre wang wrote: hi any details? On Tue, Dec 23, 2008 at 10:38 PM, Ken Peng wrote: Hi All, any links on how to configure load balancing of squid See the default squid.conf, :) http://www.suid-cache.org/Doc/config/ Seriously though. 'load balance' means many things. What exactly ar

Re: [squid-users] Squid 3.1.0.3 not caching anything

2008-12-25 Thread Amos Jeffries
Matt Harrison wrote: Amos Jeffries wrote: Cache-Control: no-cache, no-store, private all prevent caching, as does authentication unless 'pubic' is listed. Wow I didn't realise squid dealt with matters of the pubic region. I'll have to take another look at my squid.conf :) Of course it does.

Re: [squid-users] upload

2008-12-25 Thread ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░
request_body_max_size 0 KB that mean no max size ? or ? request_body_max_size 100 KB <-- mean what ? On Thu, Dec 25, 2008 at 6:38 AM, Amos Jeffries wrote: > Ken Peng wrote: >> >> >> >>> is upload can be limit from squid ? >> >> >> limits the size or what else? >> squid supports POST method

[squid-users] Delay pools and ICAP

2008-12-25 Thread Fedin Pavel
Hello! I want to use delay pools together with anti-virus checking via ICAP. Unfortunately, when I activate ICAP, Squid starts ignoring delays. If I just remove ICAP entries from the configuration file, delay pools start working as expected. Can this be fixed somehow? My Squid version is 3.0