Apache 2.4.41 checking env variable value

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

 



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’"

</Directory>

 

Here I want to check the variable is ‘SUCCESS’. What is the correct syntax to check the value of the env variable.

 

Thanks in advance,

 

Regards,

Salim


[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