Re: [squid-users] url_regex problem

From: Michael Pye <michael@dont-contact.us>
Date: Sun, 29 Jul 2007 19:03:08 +0100

Almighty 1 wrote:
> Could somebody tell me why
> url_regex -i \.php\?q
> isnt banning out the URL
> "https://www.beareggs.com/dahr.php?q=aHR0cDovL3d3dy5iZWJvLmNvbQ%3D%3D&hl=3ed

That works in squid2.6stable13 ok. What version are you running ?

If you want to deny access to a URL that matches then use something like:
acl blockedurls url_regex -i \.php\?q
http_access deny blockedurls
http_access allow all

Make sure all your http_access deny statements are before your allow
statements.

--
Michael
Received on Sun Jul 29 2007 - 12:03:38 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:04 MDT