Re: [squid-users] Squid url_regex +proxy_auth

From: Hegedus, Ervin <airween@dont-contact.us>
Date: Fri, 10 Jan 2003 12:50:42 +0100

Hello,

> I would like to configure squid allowing to download .exe or .com files
> only for authorized users.
>
> acl aclname proxy_auth_regex -i \.exe \.com REQUIRED
> http_access allow aclname
>
> but this is not working for me.
> Any idea ?

try this:

acl aclname proxy_auth user1 user2 ... userN
acl aclname2 url_regex -i \.exe$ \.com$
.
.
.
http_access deny aclname2 !aclname
.
.
.

regards:
air
Received on Fri Jan 10 2003 - 04:50:45 MST

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