Search squid archive

Re: url_regex problem

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

 



Almighty 1 wrote:
> Could somebody tell me why
> url_regex -i \.php\?q
> isnt banning out the URL
> "https://www.beareggs.com/dahr.php?q=aHR0cDovL3d3dy5iZWJvLmNvbQ%3D%3D&hl=3ed

That works in squid2.6stable13 ok. What version are you running ?

If you want to deny access to a URL that matches then use something like:
acl blockedurls url_regex -i \.php\?q
http_access deny blockedurls
http_access allow all

Make sure all your http_access deny statements are before your allow
statements.

--
Michael

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

  Powered by Linux