• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved AH00526: Syntax error on line 1

HoracioS

Regular Pleskian
Hello, after migration, all the domains show this error:

New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00526: Syntax error on line 1 of /var/www/vhosts/system/xxxxxx.com/conf/vhost_ssl.conf: Invalid command '\x1f\x8b\b', perhaps misspelled or defined by a module not included in the server configuration .

I tried Repair tool, plesk repair all, etc. Please help.

Best regards,
Horacio

The server is:
Linux Centos 7
Plesk Onyx Version 17.8.11 Update #53
 
Have you checked content of line 1 in file /var/www/vhosts/system/xxxxxx.com/conf/vhost_ssl.conf?
 
As possible solution you can just remove file /var/www/vhosts/system/xxxxxx.com/conf/vhost_ssl.conf and run

# plesk repair web

after that.
 
Back
Top