Re: [squid-users] referer_regex problems

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 20 Dec 2007 21:19:04 +1300

Marcos Pinto wrote:
> For the life of me, I can't figure out squid isnt catching this or if
> I'm doing it wrong. I'm trying to match a google referer with:
> acl google referer_regex ^http\://w?w?w?\.?google\.com.*$

You might try
      referer_regex -i ^http\://(www\.)?google\.com.*$

>
> Any thoughts? Is my regex wrong? Any help is very much appreciated.
> Thanks,
> Marcos

Amos

-- 
Please use Squid 2.6STABLE17 or 3.0STABLE1.
There are serious security advisories out on all earlier releases.
Received on Thu Dec 20 2007 - 01:18:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST