[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#499418: New configuration of apache2.conf on lenny causes a syntax error



Package: apache2
Version:  2.2.9

I installed apache2 in a fresh install of Debian Lenny BETA2 and I got the following errors:

mx:~# apache2 -t
apache2: bad user name ${APACHE_RUN_USER}
mx:~# apache2 -M
apache2: bad user name ${APACHE_RUN_USER}

Changing all the variables on apache2.conf to its respective values on /etc/apache2/envvars the problem is solved

mx:/etc/apache2# diff apache2.conf apache2.conf.orig
66c66
< PidFile /var/run/apache2.pid
---
> PidFile ${APACHE_PID_FILE}
127,128c127,128
< User www-data
< Group www-data
---
> User ${APACHE_RUN_USER}
> Group ${APACHE_RUN_GROUP}

mx:~# apache2 -t
Syntax OK
mx:~# apache2 -M
Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 setenvif_module (shared)
 status_module (shared)
Syntax OK

I'm using Debian Lenny BETA2 and kernel 2.6.26-1-486

--
Arthur Furlan
arthur.furlan@gmail.com


Reply to: