[rhn-users] Extenel ACL blocking in Squid
jijo john
jijo_john at rediffmail.com
Sat Jan 29 12:25:39 UTC 2005
Hai
I have squid server
I want to block the downloading .exe .mp3 files
so i created one block.txt in /etc/squid/block.txt
in tht i specified like this
\.exe\?.*$
\.mp3\?.*$
\.wms\?.*$
\.mp4\?.*$
then in squid.conf i enter like this in the ACL part
acl localhost src 127.0.0.1/255.255.255.255
acl blocked url_regexp "/etc/squid/block.txt"
then in the http acces part
http_access deny blocked
then i restart my squid service then i got the error
2005/01/29 15:27:04| squid.conf line 1684: acl blocked url_regexp "/etc/squid/block.txt"
2005/01/29 15:27:04| aclParseAclLine: Invalid ACL type 'url_regexp'
2005/01/29 15:27:04| squid.conf line 1726: http_access deny blocked
2005/01/29 15:27:04| aclParseAccessLine: ACL name 'blocked' not found.
2005/01/29 15:27:04| squid.conf line 1726: http_access deny blocked
2005/01/29 15:27:04| aclParseAccessLine: Access line contains no ACL's, skipping
how to configure ACL correctly
thanks in advance
jijos
jijo's
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050129/5d3df3ab/attachment.htm>
More information about the rhn-users
mailing list