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

2019-11-05 Thread Anil Kumar P
im > > From: Anil Kumar P > Sent: Monday, November 4, 2019 6:15 AM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Apache 2.4.41 checking env variable error > > You can try like below, > > > SetEnvIf %{XYZ} "SUCCESS" xyz_env > > &g

RE: [users@httpd] Apache 2.4.41 checking env variable error

2019-11-05 Thread Salim Abdul -X (salimabd - HCL TECHNOLOGIES LIMITED at Cisco)
Hi Anil, This method is working fine. Thank you very much for your reply. Thanks, Salim From: Anil Kumar P Sent: Monday, November 4, 2019 6:15 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Apache 2.4.41 checking env variable error You can try like below, SetEnvIf %{XYZ

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

2019-11-03 Thread Anil Kumar P
You can try like below, SetEnvIf %{XYZ} "SUCCESS" xyz_env Require env xyz_env Thanks, Anil >> On Nov 3, 2019, at 11:24 AM, Salim Abdul -X (salimabd - HCL TECHNOLOGIES >> LIMITED at Cisco) wrote: > %{XYZ} == "SUCCESS"

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

2019-11-03 Thread Antony Stone
On Sunday 03 November 2019 at 18:24:22, Salim Abdul -X wrote: > We are in the process of upgrading apache for linux from 2.2 to 2.4.41. > After upgrade to 2.4, getting error message "SSLRequire: Variable 'XYZ' does > not exist" As SSLRequire is deprecated in > 2.4, I have replaced "SSLRequire" wi

[users@httpd] Apache 2.4.41 checking env variable error

2019-11-03 Thread Salim Abdul -X (salimabd - HCL TECHNOLOGIES LIMITED at Cisco)
Hi Apache experts, We are in the process of upgrading apache for linux from 2.2 to 2.4.41. We have a SSLRequire access control directive in the httpd configuration file as below Options FollowSymLinks AllowOverride None SSLRequire %{XYZ} == "SUCCESS" || %{REQUEST_URI} == "/xyz/regis