转裁源于:
http://blog.qiyuange.net/?p=100
Apache 403 错误代码如下
You don't have permission to access / on this server.
Python
1 2 | Forbidden You don't have permission to access / on this server. |
解决方法
查找如下代码
Python
1 | <Directory /> |
如果有 Require all denied 这句就把他注释掉
Require all denied
Python
1 2 3 4 | <Directory /> AllowOverride none #Require all denied 删除或注释掉 </Directory> |
没有 就继续查找
Deny from all
Python
1 2 | Order deny,allow 删除改行 Deny from all 修改为 Allow from all |