LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   squid acl problem (https://www.linuxquestions.org/questions/linux-software-2/squid-acl-problem-123550/)

aigartua 12-07-2003 11:51 AM

squid acl problem
 
i want to block some bad extensions like exe.bas, txt.vbs, zip.pif, etc. for this i add the following lines in squid.conf:

acl virus url_regex -i exe.bas txt.vbs zip.pif
http_access deny virus

when i put an url like http://www.somesite.com/somefile.exe.bas it is blocked, but when i try to access the same url but with https:// the acl dont work, anybody can help me?

aigartua 12-08-2003 09:03 AM

i try the lines:

acl virus url_regex -i ftp exe.bas txt.vbs zip.pif
http_access deny virus

and dont work too


All times are GMT -5. The time now is 03:20 AM.