今天重新配置apache服务器,出现403错误,

开始在httpd-vhosts.conf上面找问题,很长时间没有解决,最后发现其实问题出在httpd.conf配置里面

<Directory /> 
   AllowOverride None 
   Order deny,allow 
   Deny from all 
   Satisfy all 
</Directory>

更改为

 
<Directory /> 
   AllowOverride None 
#    Order deny,allow 
#    Deny from all 
#    Satisfy all 
</Directory>

之后就好了。

发表评论