Search squid archive

RE: [squid-users] mime type based blocking on squid

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

 



--- Chris Robertson <crobertson@xxxxxxx> wrote:
> > -----Original Message-----
> > From: saravanan ganapathy
> [mailto:sarav_gsa@xxxxxxxxx]
> > Sent: Friday, March 25, 2005 4:15 AM
> > To: squid-users@xxxxxxxxxxxxxxx
> > 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

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

  Powered by Linux