RE: [squid-users] url_regex file format

From: Mellem, Dan <Dan.Mellem_at_pomona.k12.ca.us>
Date: Thu, 08 Apr 2010 14:59:06 -0700

>-----Original Message-----
>From: Jean-Luc Wasmer [mailto:squid_at_2010.jl.wasmer.ca]
>Sent: Thursday, April 08, 2010 1:02 PM
>
>Hi,
>
>What is the format of the regex file when defining an ACL
>based on regexes?

Just a list of matches. E.g.:

^http://www\.google\.com #Allow access to Google
# News sites
^http://news\.yahoo\.com
^http://news\.google\.com

>Can I have comments in there?
Yes.

>What is the "-i" option for?

Not case sensitive. It's like the -i flag for grep.

>
>Also, what RE are supported?

The same as egrep / grep -E.

>
>Thanks,
>Jean-Luc

-Dan
Received on Thu Apr 08 2010 - 21:59:04 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 09 2010 - 12:00:03 MDT