【www.bbyears.com--apache】
解决办法:在终端里输入如下命令即可:
代码如下sudo a2enmod authz_host;
下面附上windows下解决办法
SetHandler server-status
Order Deny,Allow
Allow from all
#allow from 127.0.0.1
要注意的是
模块加载时是stat
us_module
设置handler时是server-status
####主要是这里,前提是你的modules里编译了mod_authz_host.so这个模块#######
而有的人配置出现 order allow deny 之类不认
如:
Invalid command "Order", perhaps misspelled or defined by a module not included
in the server configuration
是因为
代码如下LoadModule authz_host_module modules/mod_authz_host.so
这个模块没有加载