Re: IF request_uri regex syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: IF request_uri regex syntax
- From: Yann Ylavic <ylavic.dev@xxxxxxxxx>
- Date: Wed, 16 May 2018 21:38:11 +0200
- In-reply-to: <CAPpU=NmOyKci=QdeX4KuRUwv1YVhB7R1yW5iWkwPHW8jRB0u+Q@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
On Wed, May 16, 2018 at 9:22 PM, Chaitanya Govande <chintu92@xxxxxxxxx> wrote:
>
> Following is the code:
>
> <If "%{REQUEST_URI} =~ /manager/status/ ...
The issue may be that '/' is both a regex separator and a path in this
expression.
The other form of regexes to work around this is "m<sep>regex<sep>",
so you possibly could try something like "m#manager/status#" here.
Regards,
Yann.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]