[CentOS] apache env vars - best practices
centos at linuxpowered.net
Mon Oct 19 18:58:00 UTC 2009
aurfalien at gmail.com wrote:
> What's the cleanest way to set complex env vars for Apache?
What are you needing to set such variables for? I've run apache
for probably nearly 15 years now, doing many different types of
things but never have I had to set complex environment
Have you tried sourcing the variables from the init script?
One way may be to put the variables in /etc/sysconfig/httpd
Perhaps there is a better way to do what you want without
needing such environment variables.
More information about the CentOS