0

currently I'm trying to setup environment variables for Apache in CentOS 5.5

According with CentOS manual and this post they should be placed in /etc/sysconfig/httpd but doing that I get Undefined index myvar

env_module is enabled so that's not the problem.

So exactly how do I setup such variables for HTTP access only?

Regards

Néstor
  • 103
  • 1
  • Tell us *exactly* what you added to `/etc/sysconfig/httpd` and where you are seeing the error. – wfaulk Sep 15 '15 at 22:57
  • there is no error but is not taking defined variables for webserver. I added some variables to use as $_SERVER['MY_VAR']: export MY_VAR=value1 – Néstor Sep 22 '15 at 20:21

0 Answers0