Search squid archive

Re: how to block files in squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux