From f41e64a2b6a29eb1c24d4537e4ef5963c8aeead0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S=C3=89RIE?= Date: Thu, 26 Nov 2015 10:53:03 +0100 Subject: [PATCH] Del operation was invalid for Apache vhost. Fixed. --- scripts/web-add.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/web-add.sh b/scripts/web-add.sh index 89c3fc5..177e395 100755 --- a/scripts/web-add.sh +++ b/scripts/web-add.sh @@ -363,7 +363,7 @@ op_del() { fi a2dissite $login - rm /etc/apache2/sites-available/$login + rm /etc/apache2/sites-available/$login.conf rm /etc/awstats/awstats.$login.conf sed -i.bak "/-config=$login /d" /etc/cron.d/awstats apache2ctl configtest