欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

手把手教你:You don’t have permission to access / on this se

程序员文章站 2022-05-28 12:39:28
...

转裁源于: 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 Director

转裁源于:

http://blog.qiyuange.net/?p=100


Apache 403 错误代码如下

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

Python

1

2

Forbidden

You don'thave 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 fromall 修改为 Allow fromall