apache错误与提示汇总

2。httpd: Syntax error on line 54 of /usr/local/webserver/apache2/conf/httpd.conf: module status_module is built-in and can't be loaded
      答:mod_status.so已经为内置了,注释掉就OK了。


1。 httpd: Syntax error on line 81 of /usr/local/webserver/apache2/conf/httpd.conf: Expected </IfModul> but saw </IfModule>
    答:这是因为</IfModul>没有匹配成对使用。


Starting httpd: Syntax error on line 358 of /etc/httpd/conf/httpd.conf:
Invalid command ' Order ', perhaps mis-spelled or defined 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


Starting httpd: Syntax error on line 368 of /etc/httpd/conf/httpd.conf:
Invalid command 'UserDir ', perhaps mis-spelled or defined by a module not includ
ed in the server configuration
需添加: LoadModule userdir_module /etc/httpd/modules/mod_userdir.so


Starting httpd: Syntax error on line 396 of /etc/httpd/conf/httpd.conf:
Invalid command 'DirectoryIndex ', perhaps mis-spelled or defined by a module not
included in the server configuration 
需添加: LoadModule dir_module /etc/httpd/modules/mod_dir.so


Starting httpd: Syntax error on line 419 of /etc/httpd/conf/httpd.conf:
Invalid command 'TypesConfig ', perhaps mis-spelled or defined by a module not in
cluded in the server configuration
需添加: LoadModule mime_module /etc/httpd/modules/mod_mime.so


Starting httpd: Syntax error on line 491 of /etc/httpd/conf/httpd.conf:
Invalid command 'LogFormat ', perhaps mis-spelled or defined by a module not incl
uded in the server configuration                 
需添加: LoadModule log_config_module /etc/httpd/modules/mod_log_config.so


Starting httpd: Syntax error on line 555 of /etc/httpd/conf/httpd.conf:
Invalid command 'Alias ', perhaps mis-spelled or defined by a module not included
in the server configuration            
需添加: LoadModule alias_module /etc/httpd/modules/mod_alias.so


Starting httpd: Syntax error on line 582 of /etc/httpd/conf/httpd.conf:
Invalid command 'SetEnvIf ', perhaps mis-spelled or defined by a module not inclu
ded in the server configuration          
需添加: LoadModule setenvif_module /etc/httpd/modules/mod_setenvif.so


Starting httpd: Syntax error on line 636 of /etc/httpd/conf/httpd.conf:
Invalid command 'IndexOptions ', perhaps mis-spelled or defined by a module not i
ncluded in the server configuration
需添加: LoadModule autoindex_module /etc/httpd/modules/mod_autoindex.so


Starting httpd: Syntax error on line 784 of /etc/httpd/conf/httpd.conf:
Invalid command 'LanguagePriority ', perhaps mis-spelled or defined by a module n
ot included in the server configuration
需添加:LoadModule negotiation_module /etc/httpd/modules/mod_negotiation.so

300*300
 文章首页关于迷茫时代关于我写意人生
版权所有:迷茫时代 All rights reserved   
执行时间:0.00522 秒