Linux下Apache启动及使用的问题总结
1. httpd: apr_sockaddr_info_get() failed for bogon
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
解决方法: 将httpd.conf中的ServerName 前面的 # 去掉。apache 2.2 的虚拟机的配置放置在conf/extra/httpd-vhosts.conf 中
2. Invalid command 'Order', perhaps misspelled or defined by a module not included
in the server configuration
是因为模块 authz_host_module 没有加载,或者出错的原因
解决办法,加载,或者找一个正确的覆盖
LoadModule authz_host_module modules/mod_authz_host.so
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
解决方法: 将httpd.conf中的ServerName 前面的 # 去掉。apache 2.2 的虚拟机的配置放置在conf/extra/httpd-vhosts.conf 中
2. Invalid command 'Order', perhaps misspelled or defined by a module not included
in the server configuration
是因为模块 authz_host_module 没有加载,或者出错的原因
解决办法,加载,或者找一个正确的覆盖
LoadModule authz_host_module modules/mod_authz_host.so
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20