apache错误与提示汇总
摘录自网上root@srv-2modules]# /etc/init.d/httpd start
Starting httpd: Syntax error on line 358 of /etc/httpd/conf/httpd.conf:
Invalidcommand'Order', perhapsmis-spelledordefined by a module not included
in the server configuration
需添加:
LoadModule access_module /etc/httpd/modules/mod_access.so
LoadModule auth_module /etc/httpd/modules/mod_auth.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 368 of /etc/httpd/conf/httpd.conf:
Invalidcommand'UserDir', perhapsmis-spelledordefinedby amodule not includ
ed in the server configuration
需添加:LoadModule userdir_module /etc/httpd/modules/mod_userdir.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 396 of /etc/httpd/conf/httpd.conf:
Invalidcommand'DirectoryIndex', perhapsmis-spelledordefinedby amodule not
included in the server configuration
需添加:LoadModule dir_module /etc/httpd/modules/mod_dir.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 419 of /etc/httpd/conf/httpd.conf:
Invalidcommand'TypesConfig', perhapsmis-spelledordefinedby amodule not in
cluded in the server configuration
需添加:LoadModule mime_module /etc/httpd/modules/mod_mime.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 491 of /etc/httpd/conf/httpd.conf:
Invalidcommand'LogFormat', perhapsmis-spelledordefinedby amodule not incl
uded in the server configuration
需添加:LoadModule log_config_module /etc/httpd/modules/mod_log_config.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 555 of /etc/httpd/conf/httpd.conf:
Invalidcommand'Alias', perhapsmis-spelledordefinedby amodule not included
in the server configuration
需添加:LoadModule alias_module /etc/httpd/modules/mod_alias.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 582 of /etc/httpd/conf/httpd.conf:
Invalidcommand'SetEnvIf', perhapsmis-spelledordefinedby amodule not inclu
ded in the server configuration
需添加:LoadModule setenvif_module /etc/httpd/modules/mod_setenvif.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 636 of /etc/httpd/conf/httpd.conf:
Invalidcommand'IndexOptions', perhapsmis-spelledordefinedby amodule not i
ncluded in the server configuration
需添加:LoadModule autoindex_module /etc/httpd/modules/mod_autoindex.so
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 784 of /etc/httpd/conf/httpd.conf:
Invalidcommand'LanguagePriority', perhapsmis-spelledordefinedby amodule n
ot included in the server configuration
需添加:LoadModule negotiation_module /etc/httpd/modules/mod_negotiation.so
页:
[1]