Re: [squid-users] Problem with ACL ???

From: Jim Nachlin <jim@dont-contact.us>
Date: Thu, 28 Oct 2004 12:02:46 -0400

The regular expression \.exe$ will match request strings ending with
".exe", bit it will not match .exe?". If you want to match ".exe"
anywhere else in the string, remove the ending $ like so:

acl download urlpath_regex -i \.exe

Muthukumar wrote:
>>I want my users download software on weekend only, I set a ACL as following:
>>
>>ACL download urlpath_regex \.exe$ \.EXE$
>
>
> Are you using ACL ??!
>
> Try as,
>
> acl download urlpath_regex -i \.exe$
>
> -i will be used for case in-sensitive
>
>>Http_access allow download weekend
>>Http_access deny all
>
>
> http_access not Http_access. Based on above two rules, it will only allow to access web on week-end for download.
> All other access will be denied. what is the weekend acl info's?
>
> can you post your squid.conf ( removing ^# (comments) and blank lines )
>
> -muthu
>
>
> ---
> =============== It is a "Virus Free Mail" ===============
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.783 / Virus Database: 529 - Release Date: 10/25/2004
>
Received on Thu Oct 28 2004 - 10:02:54 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST