Re: [squid-users] Deny media

From: squidrunner team <[email protected]>
Date: Mon, 25 Apr 2005 03:53:43 -0700 (PDT)

> I need to block *.mp3, *.wav, *.mpeg and other media
> to everybody.
> But I wgot two groups (vip and proveleged) which can
> download this stuff.

You can control this with acl types as,

acl block urlpath_regex \.mp3$ \.wav$ \.mpeg$
acl vip src ip-ranges..
acl pro src ip-range
acl normal src ip-range

http_access allow vip block
http_access allow pro block
http_access deny normal block

P.S: It may be varied based upon your existing acls
and requirement.

==================================================
Best Regards,
Squid Runner Team
squidrunner_dev at yahoo dot com

SquidRunner - An Automatic Squid Builder
Web: http://freshmeat.net/projects/squidrunner/
Support: runnersupport at gmail dot com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Mon Apr 25 2005 - 04:53:45 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT