Modifications : etc/fstab.m4
[lhc/ateliers.git] / etc / apache2 / envvars
1 # envvars - default environment variables for apache2ctl
2
3 unset HOME
4 # NOTE: this won't be correct after changing uid.
5
6 # NOTE: for supporting multiple apache2 instances.
7 if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
8 SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
9 else
10 SUFFIX=
11 fi
12
13 # NOTE: since there is no sane way to get the parsed apache2 config in scripts, some
14 # settings are defined via environment variables and then used in apache2ctl,
15 # /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
16 export APACHE_RUN_USER=www-data
17 export APACHE_RUN_GROUP=www-data
18 export APACHE_PID_FILE=/var/run/apache2$SUFFIX.pid
19 export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
20 export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
21 export APACHE_LOG_DIR=/var/log/apache2$SUFFIX
22 # XXX: only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
23
24 #export LANG=C
25 . /etc/default/locale
26 # NOTE: the locale used by some modules like mod_dav.
27
28 export LANG
29
30 #export APACHE_LYNX='www-browser -dump'
31 # NOTE: the command to get the status for 'apache2ctl status'.
32 # Some packages providing 'www-browser' need '--dump' instead of '-dump'.