create_vhost.sh: Log directory in case of suexec..
This commit is contained in:
parent
1488743e63
commit
363e1176ff
@ -852,7 +852,9 @@ if [ -z "$_existing_vhost_config_file" ]; then
|
||||
done
|
||||
|
||||
|
||||
if [[ -n "$(trim $COMMON_LOGFILE_DIR)" ]]; then
|
||||
if $_suEXEC ; then
|
||||
__log_dir=${_web_base_dir}/logs
|
||||
elif [[ -n "$(trim $COMMON_LOGFILE_DIR)" ]]; then
|
||||
__log_dir="$COMMON_LOGFILE_DIR"
|
||||
else
|
||||
__log_dir=${_web_base_dir}/logs
|
||||
|
Loading…
Reference in New Issue
Block a user