Search squid archive

Re: acl rep_header for Content_Length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear

 This combination worked for me(for test):

acl lessthan3MB rep_header Content-Length ^(1|2)?+[0-9]{0,6}$
http_reply_access allow lessthan3MB
http_reply_access deny all

 I guess the rep_header acl type is only effective when is used with
http_reply_access and not with others.

 Hope it helps

Regards
--
Mehdi Sarmadi

On 8/31/06, lopl <lopl@xxxxxxxxxx> wrote:
Dear

I found an acl (rep_header) useful, to prevent sending bigfiles to
icap_server. for example 3 MB .

this config line was added.
acl test rep_header Content-Length ^(1|2)?+[0-9]{0-5}$
icap_access s1 allow test
icap_access s1 deny all

but unfortunately all of downloaded files were denied .



where is the error?

thanks for your help





--
Mehdi Sarmadi

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux