Search squid archive

Re: how to use req_mime_type tag to restrict File Upload

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

 



thanks a lot...

i change my squid
from
squid-2.5.STABLE6-3.4E.12
to
squid-2.5.STABLE14-1.RHEL4

http://people.redhat.com/stransky/squid/

after that everything is working...
with same configuration "squid-2.5.STABLE6-3.4E.12" failed to start properly...

regards
jerrynikky.



On 8/18/06, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
On Fri, 2006-08-18 at 18:09 +0530, updatemyself . wrote:
> is this correct?
> http://www.squid-cache.org/mail-archive/squid-users/200508/0503.html
>
> i tried this way but its also not working
> even squid fail to restart properly..
>
> -----------------------------------------------------
> acl my_net src 10.0.0.1/255.255.255.0
> acl USERA src 10.0.0.1/255.255.255.255
> acl UPLIMIT req_header Content-Length [5-9][0-9]{5,}
> acl UPMETH method post
> http_access deny USERA UPMETH UPLIMIT
> http_access allow my_net
> http_access deny_all
> ---------------------------------------------------

Should work.

Do you have any other http_access allow rules?

And was your source IP 10.0.0.1 when testing this? (see access.log to
confirm..)

The first acl is slightly wrong. Should be 10.0.0.0/... but you should
have noticed that already.

any other complaints from "squid -k parse"?

Regards
Henrik



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

  Powered by Linux