Re: [squid-users] ACL + regular expressions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 12 Nov 2001 22:49:22 +0100

Sure, if you use regex based acl types instead of an IP based one.

Note: for the first it is generally better to use the dstdomain acl
type.

Regards
Henrik Nordström
Squid Hacker

Christoph Krempe wrote:
>
> Hi,
>
> is it possible to use regular expressions in ACL-files? My squid.conf looks
> like
>
> ...
> acl cdromURL dst "/usr/local/squid/etc/acl/cdrom.url"
> ...
>
> I would like to put something like
>
> *.server.com
>
> or
>
> host.*
>
> in this the file cdrom.url, but when I do so squid says "no".
>
> Any idea?
>
> Gruss
> Ch. Krempe
> ________________________________________________________________________
>
> Freie Universitaet Berlin Christoph Krempe
> Universitaetsbibliothek
> - Rechenzentrum - Systemverwaltung
> Garystrasse 39
> 14195 Berlin
> Germany Tel: +0049/30/838 54583
> Fax: +0049/30/838 54582
> e-mail: ck@ub.fu-berlin.de
> URL:http://www.ub.fu-berlin.de/~ck
> ________________________________________________________________________
Received on Mon Nov 12 2001 - 14:49:03 MST

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