Re: [squid-users] urlpath_regex doesn't match

From: Christoph Haas <[email protected]>
Date: Thu, 16 Mar 2006 17:16:51 +0100

On Thursday 16 March 2006 14:50, Marco Berizzi wrote:
> Christoph Haas wrote:
> >On Thursday 16 March 2006 14:19, Marco Berizzi wrote:
> > > I'm blocking download of .wmv files with acl urlpath_regex,
> > > but, for example, this wmv isn't catched by this rule:
> > >
> > > http://www.gametrailers.com/download.php?id=7174&type=wmv&f=
> > >
> > > squid.conf:
> > > acl trojans urlpath_regex \.wmv$
> > > http_access deny trojans
> >
> >The URL path here is probably: /download.php?
> >
> >And you are looking for anything that ends in ".wmv".
> >
> >So this doesn't match. Try http_reply_access with content type ACLs.
>
> What kind of acl should I implement?

Search your squid.conf for "rep_mime_type".

 Christoph

-- 
~
~
".signature" [Modified] 1 line --100%--                1,48         All
Received on Thu Mar 16 2006 - 09:17:03 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST