[squid-users] squid and url_regex. Not working

2013-08-19 Thread ranmanh
Hi I am not sure what I am missing with my configuration. I just want to deny access to some specific URL to some IPs. so : So I am trying to deny access to ip :192.168.1.20 when reaching url: http://www2.ul.ie/web/WWW/Services/Research/Research_at_UL allowing anyone else. it does not matter

[squid-users] Re: squid and url_regex. Not working

2013-08-19 Thread ranmanh
Apologies I corrected the original post a few minutes after posting it Now details included in the initial message. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-and-url-regex-Not-working-tp4661633p4661636.html Sent from the Squid - Users

[squid-users] Re: squid and url_regex. Not working

2013-08-19 Thread ranmanh
Original Configuration: The configuration as follows: acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible

[squid-users] Re: squid and url_regex. Not working

2013-08-19 Thread ranmanh
I have also tried the following example using http_access as well suggested: acl special_client src 192.168.0.0/16 acl special_client src 127.0.0.0/8 acl special_url url_regex -i ^http://wiki.squid-cache.org/SquidFaq$ http_access deny special_client special_url http_access allow special_url The

[squid-users] Re: squid and url_regex. Not working

2013-08-19 Thread ranmanh
Guys This only works if I do something like the following (full squid.cfg file) - is there anyway of appending such a rule under the general rules? Otherwise the access will be always allowed for what it seems.. Any idea? Many thanks -- View this message in context:

[squid-users] Re: squid and url_regex. Not working

2013-08-19 Thread ranmanh
Sorry guys, I was posting from nabble and I got lost in translation with the mailing list and Nabble.. trying to get it done right. Apologies. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-and-url-regex-Not-working-tp4661633p4661648.html Sent from