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

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to