backing up shopserver1p apache config
[eostre.git] / drupal-configs / apache2 / envvars
CommitLineData
436d9fbf 1# envvars - default environment variables for apache2ctl
2
3# this won't be correct after changing uid
4unset HOME
5
6# for supporting multiple apache2 instances
7if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
8 SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
9else
10 SUFFIX=
11fi
12
13# 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.
16export APACHE_RUN_USER=www-data
17export APACHE_RUN_GROUP=www-data
18# temporary state file location. This might be changed to /run in Wheezy+1
09c20003 19export APACHE_PID_FILE=/var/run/apache2$SUFFIX/apache2.pid
436d9fbf 20export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
21export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
22# Only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
23export APACHE_LOG_DIR=/var/log/apache2$SUFFIX
24
25## The locale used by some modules like mod_dav
26export LANG=C
27## Uncomment the following line to use the system default locale instead:
28#. /etc/default/locale
29
30export LANG
31
32## The command to get the status for 'apache2ctl status'.
33## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
34#export APACHE_LYNX='www-browser -dump'
35
36## If you need a higher file descriptor limit, uncomment and adjust the
37## following line (default is 8192):
38#APACHE_ULIMIT_MAX_FILES='ulimit -n 65536'
39
40## If you would like to pass arguments to the web server, add them below
41## to the APACHE_ARGUMENTS environment.
42#export APACHE_ARGUMENTS=''
43
44## Enable the debug mode for maintainer scripts.
45## This will produce a verbose output on package installations of web server modules and web application
46## installations which interact with Apache
47#export APACHE2_MAINTSCRIPT_DEBUG=1