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

Bug#610682: apache2-mpm-prefork: apache2 -S does'nt read envvars



Package: apache2-mpm-prefork
Version: 2.2.14-5
Severity: normal

User and Group are defined so in apache2.conf:
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

in envvars we have
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data

and it works well.
But when running
apache2 -S
the response is
bad user name ${APACHE_RUN_USER}
preventing it from printing the virtual hosts.

-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi dav dir env mime negotiation
  php5 python rewrite setenvif status

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2-mpm-prefork depends on:
ii  apache2.2-bin                 2.2.14-5   Apache HTTP Server common binary f
ii  apache2.2-common              2.2.14-5   Apache HTTP Server common files

apache2-mpm-prefork recommends no packages.

apache2-mpm-prefork suggests no packages.

-- no debconf information



Reply to: