E
ElricM
Guest
Plesk messed up httpd.conf with awstats installed
I installed the awstats package which has been working just fine for months now. However this am, Plesk evidently rewrote the main apache config file and by error, put the include line above inside the last <Directory> block for awstats like this:
The problem of course is that all the commands inside the httpd.include file(s) are illegal inside a directory block so apache would not start and all the domains on the server were down. I think the configuration files are regenerated early morning so unfortunately the webserver might have been down for several hours while I was sleeping peacefully!
How can I prevent this from happening again?
I installed the awstats package which has been working just fine for months now. However this am, Plesk evidently rewrote the main apache config file and by error, put the include line above inside the last <Directory> block for awstats like this:
Code:
<Directory "/usr/local/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
Include /etc/httpd/conf/httpd.include
</Directory>
The problem of course is that all the commands inside the httpd.include file(s) are illegal inside a directory block so apache would not start and all the domains on the server were down. I think the configuration files are regenerated early morning so unfortunately the webserver might have been down for several hours while I was sleeping peacefully!
How can I prevent this from happening again?