File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ chgrp $user $htpasswd $htaccess
7575sed -i " /^$auth_user :/d" $htpasswd
7676echo " $auth_user :$auth_hash " >> $htpasswd
7777
78- cp -p " $HOMEDIR /$user /conf/web/$WEB_SYSTEM .$domain .conf_htaccess" " $HOMEDIR /$user /conf/web/s$WEB_SYSTEM .$domain .conf_htaccess"
79- cp -p " $HOMEDIR /$user /conf/web/$WEB_SYSTEM .$domain .htpasswd" " $HOMEDIR /$user /conf/web/s$WEB_SYSTEM .$domain .htpasswd"
78+ ln -s " $HOMEDIR /$user /conf/web/$WEB_SYSTEM .$domain .conf_htaccess" " $HOMEDIR /$user /conf/web/s$WEB_SYSTEM .$domain .conf_htaccess"
79+ ln -s " $HOMEDIR /$user /conf/web/$WEB_SYSTEM .$domain .htpasswd" " $HOMEDIR /$user /conf/web/s$WEB_SYSTEM .$domain .htpasswd"
8080
8181# Restarting web server
8282if [ " $restart " != ' no' ] && [ " $restart_required " = ' yes' ]; then
You can’t perform that action at this time.
0 commit comments