Creating vHost Website Alias copies default index.html thus breaking the original site if it's based on index.php (or something not index.html)
Already described here but still existing: https://www.howtoforge.com/community/threads/vhost-alias-domains-with-own-ssl-certificates.73842/#post-347451
ISPC Version: Latest 3.1 Major Release Version
Steps to reproduce:
- Create a Website in ISPC
- Delete all the Default files in the websites "web" folder and put an "index.php" in place (as if you would install any major Web CMS or whatever PHP application)
- Enable the "Aliasdomain (Vhost)" Feature
- Create an Aliasdomain (Vhost) targeting the Website created in 1
Issue: After this procedure, the Website will be broken, as the Aliasdomain (Vhost) will again copy the default files to its "web" directory which is symlinked to the main Websites folder. As the index.html is first in order for index files, the index.php is ignored and my website is broken. I did not test, if an existing index.html would be overwritten. But this might be possible as well.
Expected behaviour: No default files are copied, if I create an Aliasdomain (Vhost).