Search squid archive

Re: [squid-users] Using rep_mime_type with Squid 2.3

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

 



On Wed, 4 May 2005, Jens Strohschnitter wrote:

Hm,

how should I use urlpath_regex to deny mimetype like ^audio/mpeg ?

You cant', but you can use it to deny access to .mp3 files which most likely will result in an audio/mpeg mime type.


acl mp3 urlpath_regex -i \.mp3$


and if you add a custom error page (see deny_info) explaining why access is denied and that you will hunt down people trying to bypass this should effectively stop the rest.


Regards
Henrik

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

  Powered by Linux