码迷,mamicode.com
首页 > 数据库 > 详细

Forbidden You don't have permission to access / on this server

时间:2016-04-24 23:13:29      阅读:302      评论:0      收藏:0      [点我收藏+]

标签:

Apache:

Forbidden You don‘t have permission to access / on this server

 

度娘了半天,屁用都没,都是老掉牙的。

最后google之,http://stackoverflow.com/questions/21551840/forbidden-you-dont-have-permission-to-access-on-this-server

 

Found my solution thanks to Error with .htaccess and mod_rewrite
For Apache 2.4 and in all *.conf files (e.g. httpd-vhosts.conf, http.conf, httpd-autoindex.conf ..etc) use

Require all granted

instead of

Order allow,deny
Allow from all

The Order and Allow directives are deprecated in Apache 2.4.

Forbidden You don't have permission to access / on this server

标签:

原文地址:http://www.cnblogs.com/yanyuge/p/5428731.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!