Initial setup for XAMPP Virtualhost gives this error:
“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. …”
To solve this:
- in \xampp\apache\conf\httpd.conf, modify:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
to:
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
转载:http://xingshi5216.blog.163.com/blog/static/4603159120121610230516/
本文提供了解决XAMPP虚拟主机配置中遇到的'Access forbidden!'错误的方法,通过修改httpd.conf文件中的目录权限设置,允许所有来源访问请求目录。
1833

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



