[CentOS] apache env vars - best practices

Mon Oct 19 17:58:00 UTC 2009
nate <centos at linuxpowered.net>

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
variables.

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.

nate