AFixd applying nopublick option
This commit is contained in:
@@ -221,6 +221,11 @@ rebuild_user_conf() {
|
||||
|
||||
# WEB domain rebuild
|
||||
rebuild_web_domain_conf() {
|
||||
WWW_USER="www-data"
|
||||
if [ -f /etc/redhat-release ]; then
|
||||
WWW_USER="apache"
|
||||
fi
|
||||
|
||||
if [ "$WEB_SYSTEM" = "httpd" ]; then
|
||||
confd="conf.h.d"
|
||||
else
|
||||
@@ -478,7 +483,7 @@ rebuild_web_domain_conf() {
|
||||
$HOMEDIR/$user/web/$domain/document_errors
|
||||
chmod 640 /var/log/$WEB_SYSTEM/domains/$domain.*
|
||||
|
||||
chown --no-dereference $user:www-data $HOMEDIR/$user/web/$domain/public_*html
|
||||
chown --no-dereference $user:$WWW_USER $HOMEDIR/$user/web/$domain/public_*html
|
||||
}
|
||||
# DNS domain rebuild
|
||||
rebuild_dns_domain_conf() {
|
||||
|
||||
Reference in New Issue
Block a user