Sub-Server directories can be deleted / renamed, causing the apache server to fail

Wenn we create a sub-server for a main-domain ( with sub-server, the folder lies within /home/

If a user renames or deletes this directory via FTP, the apache Server fails to (re)start, as the document root is missing and / or the fcgi script cannot be found.

So by deleting / renaming the directory, you can kill the whole webserver-service unintended.

Maybe the directory can be protected via chattr, just like the php5.fcgi script?



Yes, this is a problem ...

What error do you get when Apache tries to start? Is it missing the document root, the php5.fcgi script, or something else?

Could you post the full error messages?