linux poison RSS
linux poison Email

Block mp3, mpg, mpeg, exe files using Squid proxy server

First open squid.conf file /etc/squid/squid.conf:

# vi /etc/squid/squid.conf

Now add following lines to your squid ACL section:

acl blockfiles urlpath_regex “/etc/squid/multimedia.files.acl”

Now create the the file

# vi /etc/squid/multimedia.files.acl


Save and close the file and Restart Squid:

# /etc/init.d/squid restart


Post a Comment

Related Posts with Thumbnails