One regex per line
If you want to match an extension then use
\.ext$
For a full description of regex, see "man 7 regex", "man egrep", and
numerous books and other resources on the subject..
Regards
Henrik Nordström
On Sunday 03 February 2002 11.37, Ionel GARDAIS wrote:
> Hi,
>
> 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
> "/etc/squid/file_extention_block.txt"
>
>
> 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,
> ionel
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.fr
-- MARA Systems AB, Giving you basic free Squid support Customized solutions, packaged solutions and priority support available on requestReceived on Tue Feb 12 2002 - 21:53:10 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:14 MST