Search squid archive

Re: yes or no question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 24 Aug 2009 21:54:10 +0400, "Alex" <flying_alex@xxxxxxx> wrote:
> Good day.
> I've checked Russian FAQ and did not find the answer to my question. 
> I have a net with 20 computers. I want to block access to certain sites
> forbid to download of certain types of files (*.mp3, *.avi e.t.c.).
> Is it possible with Squid? For now I just want "yes" or "no" because the
> rest I'll try to find myself.
> Regards, your potential user.

Kudos for trying to do it yourself. But this is one area with a lot of
obsolete FUD in the online tutorials.
I'd rather push you in the right direction so you have a chance at evading
the very bad experience ahead.

ACL -> urlpath_regex
pattern:  -i \.(mp3|avi)(\?.*)?$

ACL -> rep_mime_type
pattern: -i audio|video

Now off to the FAQ sections of ACL and figure out how to use them. :)

Amos

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux