thinkphp出现
Forbidden
You don’t have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.怎么解决

打开httpd.conf文件夹
修改
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
当在ThinkPHP框架中遇到ForbiddenYoudon’thavepermissiontoaccess/onthisserver.和403错误时,可以尝试修改httpd.conf配置文件。具体操作是更改<Directory/>区块的权限设置,例如将Denyfromall改为Allowfromall。
1145

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



