Re: [squid-users] Wildcards for filenames

From: Hegedus, Ervin <airween@dont-contact.us>
Date: Thu, 28 Mar 2002 10:55:41 +0100

hello,

>
[...]
> If I deny all exe-files and allow
> - the file sdat4194.exe : this works fine for the "4194"-file
> - the file sdat*.exe : error for sdat4194.exe
> - the file sdat???.exe : error for sdat4194.exe
>
> I tried many other combinations of wildcards with no success. Error messages
> is:
>
> "Access control configuration prevents your request from being allowed at
> this time. Please contact your service provider if you feel this is
> incorrect. "
>
>
> How can I allow all files "sdatNNNN.exe"?

try some this:

acl exefiles url_regex -i sdat[0-9][0-9][0-9][0-9]\.exe
.
.

http_access deny exefiles

this acl will works for just sdatNNN.exe format,
sdatNNNN.exe will not works.

a.
Received on Thu Mar 28 2002 - 02:55:54 MST

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