On 8/4/05, Denis Vlasenko <vda@xxxxxxxxxxxxx> wrote: > On Thursday 04 August 2005 10:40, Nauman Yousuf wrote: > > acl FILE_MP3 urlpath_regex -i \.gz$ \.exe$ \.mp3$ \.tar.gz$ \.doc$ > > http_access deny FILE_MP3 > > i am using these two lines but seems its nor working b/c i download > > tar files n exe file after that > > what mistake i am doing > > Probably you shouldn't put them in one line. > I list one regex per line: > > acl ads_regex url_regex -i ^http://www.*adnet\.ru:*[0123456789]*/cgi-bin/iframe/vivru > acl ads_regex url_regex -i ^http://www.*business\.lbn\.ru:*[0123456789]*/cgi-bin/iframe/ > acl ads_regex url_regex -i ^http://image\.linkexchange\.com:*[0123456789]*/[0123456789/]*/banner > acl ads_regex url_regex -i ^http://rotabanner\.kulichki\.net:*[0123456789]*/cgi-bin/iframe/ > acl ads_regex url_regex -i ^http://bx\.metka\.ru:*[0123456789]*/.*\? > acl ads_regex url_regex -i ^http://aif\.yadro\.ru:*[0123456789]*/cgi-bin/show\? > acl ads_regex url_regex -i ^http://btxt\.abn\.com\.ua:*[0123456789]*/jsframe\? > acl ads_regex url_regex -i ^http://direct\.lbe\.ru:*[0123456789]*/cgi-bin/iframe/.*\? > ... > > -- > vda > > You neet to but 'deny' ACLs befor other 'allow' ACLs in squid.conf. Do you mind posting the complete ACLs and http_access lines so we can have a look at them? -- Regards. Abu Khaled