On Monday 11 Oct 2004 7:07 pm, James Dominy wrote:
> Could anyone please give me some suggestions?
> I'm currently blocking .mp3, .wav, .au, .ogg, .aif, .mpg, .mpeg, .ra,
> .avi, .mov, .wma, and .asx
A quick google gives this squid recipe:
========================================
acl BLOCK url_regex "/opt/squid/etc/block.acl" # Type your path block.acl
http_access deny BLOCK
deny_info ERR_DENIED_FILE_TYPE BLOCK # You can make your own error msg, or
                                     # just comment it if you want to use
                                     # default ACCES DENIED.

Here is the block.acl file:

#/opt/squid/etc/blokada.acl
# Blocking mpeg,avi,mp3...
\.(afx|asf|asx|au|avi|divx|m3u|mov|mp2|mp3|mpeg|mpg|qt|ra|ram|rm|viv|vivo|vo
b|vqf|wav|wma|wmv|vbs|shs|pif)($|\?) 

========================================

HTH
Regards
Steve

-- 
        Once, when the secrets of science were the jealously guarded property
of a small priesthood, the common man had no hope of mastering their arcane
complexities.  Years of study in musty classrooms were prerequisite to
obtaining even a dim, incoherent knowledge of science.
        Today all that has changed: a dim, incoherent knowledge of science is
available to anyone.
                -- Tom Weller, "Science Made Stupid"
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to