Gday,
>Q1. I want to block *.pdf files from my squid.
Define your ACL:
acl BADFILES urlpath_regex -i "/usr/local/etc/BLOCKEDFILES"
The -i making the match case insensitive.
>Q2. ok fine if that above acl works than how can i
>block more than one files (*.ps, *.pdf, *.doc,*.swf)unlimited with one
command.
In the file BLOCKEDFILES file specified above add the file extensions you
want to block as follows:
\.asf$
\.asx$
\.avi$
\.m3u$
This will block all the file types you specify, hope this helps.
Regards,
Richard Fuser
Firewall Administrator
Received on Tue Jun 17 2003 - 01:01:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:23 MST