[squid-users] RE: ACL wildcard?

From: Sébastien WENSKE <sebastien_at_wenske.fr>
Date: Mon, 18 Mar 2013 14:03:23 +0000

Hey,

It would be great if this feature becomes available !!!

acl aclname_1 type_1
acl aclname_2 type_2
acl aclname_3 type_3
acl aclname_4 type_4
[...]
http_access allow|deny aclname_*

Cheers!

-----Message d'origine-----
De : Nick Cairncross [mailto:Nick.Cairncross_at_condenast.co.uk]
Envoyé : jeudi 11 mars 2010 18:41
À : squid-users_at_squid-cache.org
Objet : [squid-users] ACL wildcard?

Hi all,

Just a quick question today..: In a bid to keep to some standards my ACLs
all follow similar naming conventions :

FILETYPE_EXE_[object] - e.g. FILE_TYPE_EXE_Users, FILE_TYPE_EXE_Hosts,
FILE_TYPE_EXE_IPAddresses FILETYPE_MP3_[object] - e.g. FILE_TYPE_MP3_Users,
FILE_TYPE_MP3_Hosts, FILE_TYPE_MP3_IPAddresses FILETYPE_ZIP_[object] - e.g.
FILE_TYPE_ZIP_Users, FILE_TYPE_ZIP_Hosts, FILE_TYPE_ZIP_IPAddresses

Instead of repeating the deny_info entry three times for each of these, is
it possible to use a wildcard for one? If so.. What is it?:

deny_info CUSTOM_FILEBLOCKED FILETYPE_{wildcard}

Thanks,

Nick

** Please consider the environment before printing this e-mail **

The information contained in this e-mail is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee, any
disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise, is not intended to waive privilege or
confidentiality. Internet communications are not secure and therefore Conde
Nast does not accept legal responsibility for the contents of this message.
Any views or opinions expressed are those of the author.

Company Registration details:
The Conde Nast Publications Ltd
Vogue House
Hanover Square
London W1S 1JU

Registered in London No. 226900

Received on Mon Mar 18 2013 - 14:06:56 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 19 2013 - 12:00:06 MDT