File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ source $VESTA/conf/vesta.conf
2323# Defining htpasswd file
2424htaccess=" $HOMEDIR /$user /conf/web/$WEB_SYSTEM .$domain .conf_htaccess"
2525htpasswd=" $HOMEDIR /$user /conf/web/$WEB_SYSTEM .$domain .htpasswd"
26-
26+ shtaccess=" $HOMEDIR /$user /conf/web/s$WEB_SYSTEM .$domain .conf_htaccess"
27+ shtpasswd=" $HOMEDIR /$user /conf/web/s$WEB_SYSTEM .$domain .htpasswd"
2728
2829# ----------------------------------------------------------#
2930# Verifications #
@@ -54,7 +55,7 @@ sed -i "/^$auth_user:/d" $htpasswd
5455
5556# Deleting password protection
5657if [ " $( echo " $AUTH_USER " | tr : ' \n' | wc -l) " -le 1 ]; then
57- rm -f $htaccess $htpasswd
58+ rm -f $htaccess $htpasswd $shtaccess $shtpasswd
5859 restart_required=' yes'
5960fi
6061
You can’t perform that action at this time.
0 commit comments