[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

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

2013-08-19 Thread Amos Jeffries
On 20/08/2013 2:20 a.m., ranmanh wrote: Apologies I corrected the original post a few minutes after posting it Now details included in the initial message. This is an email mailing list. You cannot correct initial posts like that. Please post the details. Amos

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

2013-08-19 Thread Amm
- Original Message - From: Amos Jeffries squ...@treenet.co.nz To: squid-users@squid-cache.org On 20/08/2013 2:20 a.m., ranmanh wrote: Apologies I corrected the original post a few minutes after posting it Now details included in the initial message.   This is an email

[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

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

2013-08-19 Thread Amos Jeffries
On 20/08/2013 6:42 a.m., ranmanh wrote: 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?