RE: [squid-users] squid and regex help

From: Adam Aube <aaube@dont-contact.us>
Date: Fri, 5 Sep 2003 11:03:50 -0400

> Using regex "/etc/squid.adservers" I'm attempting to
> block any URL's with "penis" AND "large" in the url.

> (/large/ && /penis/)
> (/penis/ && /large/)

> But this doesnt work :/

With the Squid regex acls, you are working inside the / /. In order to
do what you want to do, you'll need two entries like this:

large.*penis
penis.*large

That should work.

Adam
Received on Fri Sep 05 2003 - 09:03:53 MDT

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