Re: [squid-users] squid regex again :)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 16 Sep 2003 11:58:14 +0200 (CEST)

On Tue, 16 Sep 2003, mdew wrote:

> On Tue, 2003-09-16 at 18:26, Henrik Nordstrom wrote:
> > On Tue, 16 Sep 2003, mdew wrote:
> >
> > > I'm trying to block ads..
> > > http://somesite.com/something/ads/flash-advert.swf
> > >
> > > what would be the correct regex to block *somesite.com/something/ads/*
> >
> > The following url_regex would block https:// or http:// (*.)somesite.com/something/ads/*
> >
> > ^https?://\([^/]*\.\)somesite\.com/something/ads/flash-advert\.swf$

I obviously meant

^https?://\([^/]*\.\)somesite\.com/something/ads/

I bit too much copy-pasting there..

Regards
Henrik
Received on Tue Sep 16 2003 - 03:58:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:53 MST