Also, If the file is suffixed as .EXE instead of .exe, it will not be enough. So it should be better to use -i, like this:
acl hello urlpath_regex -i .\exe$ http_access DENY hello As told by Henrik, it is pretty critical the place where you put your rules. You see, Squid rule processing is sequential, from top to bottom. So you may be better putting that http_access rule before rules that ALLOW things. I usually put my rules at a place in the squid.conf file where you can read # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS -- Bye, Fernando Maciel Souto Maior [EMAIL PROTECTED] http://www.araujo.com.br +55+31 3270-5886 > On Wednesday 13 August 2003 08.11, Paras pradhan wrote: >> DiD as: >> >> acl hello urlpath_regex .\exe$ >> http_access deny hello >> >> >> NO luck. >> >> what i am missing.?? > > Where is this http_access rule in relation to your other htto_access > rules? It must be before where access is allowed to make any effect. > > And did you remember to "squid -k reconfigure" after making the change > (a restart of Squid is also fine but takes longer than reconfigure). > > Regards > Henrik > > -- > Donations welcome if you consider my Free Squid support helpful. > https://www.paypal.com/xclick/business=hno%40squid-cache.org > > If you need commercial Squid support or cost effective Squid or > firewall appliances please refer to MARA Systems AB, Sweden > http://www.marasystems.com/, [EMAIL PROTECTED] >
