欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

wamp虚拟主机报错You don't have permission to access / on

程序员文章站 2022-06-01 17:54:06
...

打开httpd.conf文件 Directory / AllowOverride none Require all denied /Directory 修改成: Directory / Options FollowSymLinks AllowOverride None Order deny,allow Allow from all Satisfy all /Directory Directory e:/wamp/www/ Options Indexes Fo

打开httpd.conf文件



AllowOverride none
Require all denied

修改成:


Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all



Options Indexes FollowSymLinks
AllowOverride all
Require local

修改成:


Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Allow from all


httpd.conf

去掉注释:mod_vhost_alias.so


重启apache服务就可以了