[squid-users] url_regex -i file format

From: Ionel GARDAIS <igardais@dont-contact.us>
Date: Sun, 3 Feb 2002 11:37:41 +0100 (CET)


I've found in the archives an example for blocking
some specific files extentions (ie. .mp3, .avi, .mpg)
by using this acl rule :

acl blockfiles url_regex -i

My question is simple : what is the format of this
file ? Do I have to put the leading dot ? One
extention per line ?

Also, for sites blocking, I foudn this rule :

acl blockedsites url_regex -i "/etc/squid/block.txt"

Same question : Does I have to put the leading
"http://" info ? Does a simple IP address works or do
I have to write the FQDN ? One address per line ?

Thanks for your help,

Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franšais !
Yahoo! Mail : http://fr.mail.yahoo.fr
Received on Sun Feb 03 2002 - 03:37:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:09 MST