当前位置:Gxlcms > PHP教程 > apache出现Youdon'thavepermissiontoaccess/onthi_PHP教程

apache出现Youdon'thavepermissiontoaccess/onthi_PHP教程

时间:2021-07-01 10:21:17 帮助过:28人阅读

在apache的配置文件httpd.conf里定义了对网站根默认的访问权限

#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Directory>

改为

<Directory />
Options Indexes FollowSymLinks
AllowOverride None
Directory>

问题解决

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/654278.htmlTechArticle在apache的配置文件httpd.conf里定义了对网站根默认的访问权限 # Directory / Options FollowSymLinks AllowOverride None Order deny,allow Deny from all / Directory 改...

人气教程排行