Search squid archive

RE: url_regex file format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>-----Original Message-----
>From: Jean-Luc Wasmer [mailto:squid@xxxxxxxxxxxxxxxxx] 
>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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux