Question
Apache gives an error of AH00526 (restart)
The error massage that I get when I try to restart apache
AH00526: Syntax error on line 20 of /etc/apache2/sites-enabled/zzz-deny-generic.conf:
Invalid ServerName “*” use ServerAlias to set multiple server names.
Action ‘configtest’ failed.
The Apache error log may have more information.
What shoul I do?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi! Can you post the contents of
/etc/apache2/sites-enabled/zzz-deny-generic.conf
?