Control Web Panel
WebPanel => CentOS 6 Problems => Topic started by: Nirvak on June 09, 2017, 08:00:43 PM
-
Hello,
I followed this guide http://forum.centos-webpanel.com/centos-6-problems/centos6-upgrade/ to update from version 0.9.8.154, but I got this error:
Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Can you help me?
EDIT: After rebuilding Apache the error changed in:
Starting httpd: AH00526: Syntax error on line 11 of /usr/local/apache/conf.d/mod_security.conf:
Invalid ServerName "*" use ServerAlias to set multiple server names.
[FAILED]
On line 11 I have:
ServerName *
-
Excuse me for the multiple post, but I solved with this modification in file /usr/local/apache/conf.d/mod_security.conf:
from
ServerName *
to
ServerName my.ServerHostname.com