Re: Apache 2.4.41 checking env variable value

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

 



On Thu, Nov 14, 2019 at 7:08 PM Salim Abdul -X (salimabd - HCL
TECHNOLOGIES LIMITED at Cisco) <salimabd@xxxxxxxxx.invalid> wrote:
>
> Hi Experts,
>
>
>
> I want to check the value of an environment variable which is already set.
>
>
>
> <Directory />
>
>     AllowOverride None
>
>     Require env XYZ == ‘SUCCESS’ || expr “%{REQUEST_URI} == ‘/xyz/register/register.rq’"

Something like this should work:
  Require expr “env('XYZ') == 'SUCCESS' || %{REQUEST_URI} ==
'/xyz/register/register.rq'"

>
> </Directory>

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]

  Powered by Linux