On Wednesday 10 September 2003 21.51, sergio del villar wrote:
> Hi! i'm having a lot of troubles trying to get one acl
> rule working:
>
> acl forbidden url_regex "/etc/squid/forbidden"
> http_access deny forbidden
Where is this in relation to your other http_access rules? It must be
before where you allow access to have any effect.
> Where /etc/squid/forbidden it's a file that contains
> specific words:
>
> sex
> napster
> kazaa
I do not think this really is what you want. url_regex is a plain
regex match on the whole URL and "sex" will match any URL having the
letter "s" followed by "e" followed by "x" anywhere, not only the
word "sex".
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]Received on Wed Sep 10 2003 - 14:35:39 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:38 MST