On Sun, Jan 19, 2020 at 10:22:56PM +1300, Amos Jeffries wrote:
>
> It should work without the anchor and suffix. Perhapse the URL is not
> actually that string?
>
Yes it will work without the anchor but using an anchor can make the
regex faster because it then does not have to scan the whole str
thanks Amos
#allow special URL paths
acl special_url url_regex "/usr/local/squid/etc/urlspecial.txt"
http_access allow special_url
#
#deny MIME types
acl mimetype rep_mime_type "/usr/local/squid/etc/mimedeny.txt"
http_reply_access allow special_url
http_reply_access deny mimetype
the reason why i
On 18/01/20 3:51 am, robert k Wild wrote:
> smashed it -
>
> acl special_url url_regex ^http://updater.maxon.net/server_test.*
> http_access allow special_url
>
It should work without the anchor and suffix. Perhapse the URL is not
actually that string?
* any (.*) at beginning or end is assume
smashed it -
acl special_url url_regex ^http://updater.maxon.net/server_test.*
http_access allow special_url
On Fri, 17 Jan 2020 at 14:11, robert k Wild wrote:
> sorry i meant this -
>
> acl special_url url_regex http://updater.maxon.net/server_test
> http_access allow special_url
>
> On Fri, 1
sorry i meant this -
acl special_url url_regex http://updater.maxon.net/server_test
http_access allow special_url
On Fri, 17 Jan 2020 at 14:10, robert k Wild wrote:
> hi all,
>
> really struggling with getting the url regex syntax correct, does it
> accept normal url paths ie
>
> acl special_ur
hi all,
really struggling with getting the url regex syntax correct, does it accept
normal url paths ie
acl special_url url_regex http://updater.maxon.net/server_test
http_access allow special_client special_url
but it doesnt work?
thanks,
rob
--
Regards,
Robert K Wild.
_