Symptoms
-
Website
example.com
is unavailable -
One of the following errors appears in Plesk:
PLESK_ERROR: httpd: Syntax error on line xxx of /etc/httpd/conf/httpd.conf: Syntax error on line yyy of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line zzz of /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf
PLESK_ERROR: httpd: Syntax error on line xxx of /etc/httpd/conf/httpd.conf: Syntax error on line yyy of /etc/httpd/conf.d/deflate.conf
Cause
Incorrect Apache webserver configuration.
Resolution
-
Connect to the server via SSH
-
Execute the following command:
# plesk repair web -server