Re: IF request_uri regex syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you very much - this seems to have did the trick. I appreciate it, Yann.

On Wed, May 16, 2018 at 2:38 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
> 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
>



-- 
Chaitanya Govande
847-387-0546

---------------------------------------------------------------------
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]

  Powered by Linux