(1.0.1) devops: refactor authentication module to improve security and streamline user login process.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
unset HOME
|
||||
|
||||
if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
|
||||
SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
|
||||
else
|
||||
SUFFIX=
|
||||
fi
|
||||
|
||||
: ${APACHE_RUN_USER:=www-data}
|
||||
export APACHE_RUN_USER
|
||||
: ${APACHE_RUN_GROUP:=www-data}
|
||||
export APACHE_RUN_GROUP
|
||||
: ${APACHE_PID_FILE:=/var/run/apache2$SUFFIX/apache2.pid}
|
||||
export APACHE_PID_FILE
|
||||
: ${APACHE_RUN_DIR:=/var/run/apache2$SUFFIX}
|
||||
export APACHE_RUN_DIR
|
||||
: ${APACHE_LOCK_DIR:=/var/lock/apache2$SUFFIX}
|
||||
export APACHE_LOCK_DIR
|
||||
: ${APACHE_LOG_DIR:=/var/log/apache2$SUFFIX}
|
||||
export APACHE_LOG_DIR
|
||||
|
||||
: ${LANG:=C}
|
||||
export LANG
|
||||
|
||||
export LANG
|
||||
Reference in New Issue
Block a user