Submitted by net-lab on Fri, 09/28/2012 - 06:29
Wenn we create a sub-server for a main-domain (foo.com with sub-server bar.foo.com), the bar.foo.com folder lies within /home/foo.com/domains/
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?
Status:
Active
Comments
Submitted by JamieCameron on Fri, 09/28/2012 - 13:06 Comment #1
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?
Submitted by net-lab on Mon, 10/08/2012 - 11:04 Comment #2
both :)
Submitted by JamieCameron on Mon, 10/08/2012 - 12:10 Comment #3
Could you post the full error messages?