Need help to set environment variables
Posted on 2008-01-29
We have a custom application running on our RHEL 4 machines. The app works with apache 2.2. What i am trying to do is set the environment variable for the application at boot. As of yet i have only been able to get them to work for root users. As well using the envvars file, it does work when using the apachectl script, but only for root users. If you try to start apache using sudo, it doesnt load them.
I need these variable to load for every user and to be loaded when using httpd to start/stop apache.
I hope my question isn't to confusing, without seeing what the actual issue is.