Re: [users@httpd] Apache 2.4.41 checking env variable value

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

[users@httpd] Apache 2.4.41 checking env variable value

2019-11-14 Thread Salim Abdul -X (salimabd - HCL TECHNOLOGIES LIMITED at Cisco)
Hi Experts, I want to check the value of an environment variable which is already set. AllowOverride None Require env XYZ == 'SUCCESS' || expr "%{REQUEST_URI} == '/xyz/register/register.rq'" Here I want to check the variable is 'SUCCESS'. What is the correct syntax to check the