1)Create a file to hold your  expressions
(.exe$ |.scr$ |.mp3$ |download)

The dollar signs say to match only from the end of the line. 
(milly.screen.com wouldn't match).  Download will match anywhere within 
the url.

2) Edit your squidGuard.conf file to look something like:


dest no_downloads    {
    expressionlist    adult/abusers/expressions
    redirect    302:http://192.168.3.3/blacklisted/notpermitted.html    
    
    logfile        no_downloads.log}

Rember to change the file name/extension for (the file) expressions so 
that the pathname is correct.

3) Restart squid/squidGuard

Mauricio Montilla wrote:

> Hi
>  
> I wonder, if there's is a way to block the downloading of specific 
> kind of files (by their extension) using a regex expressions.
>  
> Can you help me?
>  
> *******************************
> Mauricio Montilla Figueroa
> *******************************





______________________________________
Inflex - installed on mailserver for domain @dunbarton.com

Reply via email to