您的位置:首页 > 博客中心 > 数据库 >

Access forbidden的解决方法

时间:2022-03-14 03:36

LAMP模型下运行项目文件,出现下面错误:

Access forbidden!

You don‘t have permission to access the requested directory.

 

解决方法:

用IDE打开下面目录:httpd.conf文件找到

DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/mytest"
<Directory "/Applications/XAMPP/xamppfiles/htdocs/mytest>

记得看 引号是不是中英文不对应。

 

热门排行

今日推荐

热门手游