httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salim Abdul -X (salimabd - HCL TECHNOLOGIES LIMITED at Cisco)" <salim...@cisco.com.INVALID>
Subject [users@httpd] Apache 2.4.41 checking env variable value
Date Thu, 14 Nov 2019 18:07:51 GMT
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

Mime
View raw message