Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
这个错误提示,是因为要访问的目录没有访问权限,可以修改以下内容
在xampp\apache\conf\httpd.conf修改:
DocumentRoot "D:/www"
<Directory "D:/www"> Require all granted
# Order deny,allow
#deny from all这里是拒绝所有
Require all granted改成这个就行就可以了
本文介绍了解决Apache服务器上出现的403错误的方法,即当尝试访问某个受保护目录时,服务器返回禁止访问的错误。通过修改httpd.conf文件中的权限设置,将拒绝所有访问改为允许所有访问。
7017

被折叠的 条评论
为什么被折叠?



