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

Re: [users@httpd] How to convert mod_jk to mod_proxy_ajp on CentOS?

2019-11-03 Thread gkk gb
I realize the reason httpd didn't restart is because EasyApache automatically inserts listens to port 0.0.0.0:80 and 0.0.0.0:443, so including additional listens in the Pre Main Include section causes Apache not to start (can't use more than one listen for the same port in httpd.conf). Everythi