Sub/Aliasdomain (Expert) removes stats folder
Summary
If an Aliasdomain or Subdomain vhost is created or edited, the stats folder under /web is deleted.
Steps to reproduce
-
Create a website
-
Enable awstats for the website in the Statistics tab
-
Wait until all system jobs are finished
-
The /web/stats folder is created
-
Create a subdomain vhost: Host: abc Domain: test.de Base folder: vhost (after saving it will contain web/vhost and it cannot be changed) otherwise do not change and save the standard settings
-
Wait until all system jobs are finished.
-
The vhost folder gets standard_index.html and the error folder with 8 standard error pages.
-
The /web/stats folder is gone
Correct behaviour
The /web/stats folder should not be deleted
Environment
Server OS + version: Debian GNU/Linux 11 (bullseye)
ISPConfig version: 3.2.9
Software version of the related software:
Server version: Apache/2.4.54 (Debian)
Server built: 2022-06-09T04:26:43
PHP 7.4.32 (cli) (built: Oct 28 2022 18:38:41) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.32, Copyright (c), by Zend Technologies