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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 12 Sep 2006 20:37:27 +0200

tis 2006-09-12 klockan 10:33 +0100 skrev Zahir:

> Now my question is how to allow the users to access that site, at the same
> time the squid should deny .exe files.

As you can not know if the .exe URL is a download of a .exe file or a
CGI running on the server it's not very easy, but to start with
whitelisting /cgi-bin/ from the .exe block is perhaps a good idea.

acl cgi-bin urlpath_regex ^/cgi-bin/

http_access deny EXE !cgi_bin !POST

Regards
Henrik

Received on Tue Sep 12 2006 - 12:37:32 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT