- Plesk for Linux
Apache web server cannot be started with the following warnings:
CONFIG_TEXT: [alias:warn] AH00671: The Alias directive in /etc/httpd/conf.d/autoindex.conf at line 21 will probably never match because it overlaps an earlier Alias.
[alias:warn] AH00671: The ScriptAlias directive in /etc/httpd/conf.d/php_cgi_wrapper.conf at line 1 will probably never match because it overlaps an earlier ScriptAlias.
[alias:warn] AH00671: The Alias directive in /etc/httpd/conf.d/webalizer.conf at line 6 will probably never match because it overlaps an earlier Alias. \
Errors like the following are shown when starting Apache:
CONFIG_TEXT: httpd: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:7081
systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
CONFIG_TEXT: AH00526: Syntax error on line 22 of /etc/httpd/conf/modsecurity.d/rules/comodo_free/00_Init_Initialization.conf:
ModSecurity: Found another rule with the same id
Include or IncludeOptional directive is specified twice in the Apache config:
# grep "IncludeOptional conf.d" "/etc/httpd/conf/httpd.conf"
/etc/httpd/conf.d/directory is Included twice in the Apache config (e.g. as relative and absolute paths):
# grep Include /etc/httpd/conf/httpd.conf
Connect to the server via SSH.
Comment out (add # symbol at the line beginning) extra record in
CONFIG_TEXT: #IncludeOptional conf.d/*.conf
CONFIG_TEXT: #Include /etc/httpd/conf.d/*.conf
Reconfigure web services:
# plesk sbin httpdmng --reconfigure-all