RE: ACL matching on URLs

From: Mallin, Eoin <>
Date: Fri, 12 Feb 2010 16:08:07 -0000

Hi Aleks,
thanks for your reply.

I've decide to use the regular expression: path_reg /web$|/web/

unless there are other suggestions.


-----Original Message-----
From: Aleksandar Lazic [] Sent: 12 February 2010 16:05
To: Mallin, Eoin
Subject: Re: ACL matching on URLs

This e-mail has been received by the Revenue Internet e-mail service. (IP)

Hi Mallin Eoin,

On Fre 12.02.2010 14:43, Mallin, Eoin wrote:
>Hi all,
>I'm looking for the best approach for matching the first part of a URL
>in ACLs. Some examples of the types of URLs include:


how about

>Won't work
>acl backend1_acl path_beg /web

acl backend1_acl path_beg /web/


>acl backend2_acl path_beg /webservices

acl backend2_acl path_beg /webservices/

>use_backend1 if backend1_acl
>use_backend2 if backend2_acl

or is it thought so simple?

Most of the Browser adds the '/' at the end of the 'directory', imho.



Please note that Revenue cannot guarantee that any personal and sensitive data, sent in plain text via standard email, is fully secure. Customers who choose to use this channel are deemed to have accepted any risk involved. The alternative communication methods offered by Revenue include standard post and the option to register for our (encrypted) secure email service.

Received on 2010/02/12 17:08

This archive was generated by hypermail 2.2.0 : 2010/02/12 17:15 CET