Why doesn't apache2 respect my envvars file?
- by Avery Chan
My envvar files has these lines in it:
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
My apache2.conf has these lines in it:
# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
But when I run apache2 -M I get this:
apache2: bad user name ${APACHE_RUN_USER}
A temporary fix is…