Rootop 服务器运维与web架构

client denied by server configuration:

| 暂无评论

访问apache提示拒绝访问,查看错误日志:

[Wed Nov 27 02:33:37 2013] [error] [client 122.4.66.135] client denied by server configuration: /mnt/data/web/xxx/

解决方法:

编辑httpd.conf:

<Directory />
    Options FollowSymLinks
    AllowOverride All
    Order deny,allow
#    Deny from all
</Directory>

将Deny from all注释掉

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/1939.html

作者:Venus

服务器运维与性能优化

发表回复