On Sun, Mar 07, 2010 at 03:41:09PM -0800, Praveen Patnala wrote:
> Hi Willy,
>
> Thanks for the tips. Your suggestion works. I guess I was confused about
> path_reg vs. url_reg. So, following rule works for me -
> acl acl_example1 url_reg type=xxx
>
> Matches urls - "/test?type=xxx&...
>
> Could you please help me refine the rule a bit further? What I am looking
> for is a regex for the type, i.e *xxx* should be one ACL rule and *yyy*
> another ACL rule.
I don't understand what you mean or want. Could you please give an example ?
> I have tried the followings but they are not matching.
> acl acl_example1 url_reg type=\S+xxx\S+, or
> acl acl_example1 url_reg type=(\S+)xxx(\S+)
I don't know what you tried to achieve, I thought "type=xxx" did work for you.
Willy Received on 2010/03/08 06:58
This archive was generated by hypermail 2.2.0 : 2010/03/08 07:00 CET