--- Chris Robertson <crobertson@gci.com> wrote:
> > -----Original Message-----
> > From: saravanan ganapathy
> [mailto:sarav_gsa@yahoo.com]
> > Sent: Friday, March 25, 2005 4:15 AM
> > To: squid-users@squid-cache.org
> > Subject: [squid-users] mime type based blocking on
> squid
> >
> >
> > Hai,
> >
> > I configured as the following in my
> squid-5.STABLE9
> >
> > acl audiomime rep_mime_type -i
> > ^application/audio/mpeg$
> > acl audiomime1 rep_mime_type -i
> application/audio/mpeg
> >
> >
> > http_access deny audiomime all
> > http_access deny audiomime1 all
> >
> > http_reply_access deny audiomime all
> > http_reply_access deny audiomime1 all
> >
> > But its not working. Still my squid allows
> audio/mpeg
> > type of downloads. The squid log shows the correct
> > file type (audio/mpeg). But it is not denied.
> >
> > What would be the problem?
> >
> > Sarav
>
> Currently you are blocking a mime_type of
> "application/audio/mpeg", when you
> should be blocking "audio/mpeg". As you said, the
> squid log shows the
> correct file type.
>
> Chris
Thx Chris.
I have changed my acl as
acl audio-video rep_mime_type -i ^audio/mpeg$
acl audio-video rep_mime_type -i ^audio/x-mpeg$
http_reply_access deny audio-video all
and its working fine. Is there any way to use
deny_info for http_reply_access ?
Sarav
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
Received on Sat Mar 26 2005 - 01:35:39 MST
This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST