当前位置:Gxlcms > mysql > wamp虚拟主机报错Youdon'thavepermissiontoaccess/on

wamp虚拟主机报错Youdon'thavepermissiontoaccess/on

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

打开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服务就可以了

人气教程排行