首頁  >  文章  >  資料庫  >  wamp虚拟主机报错You don't have permission to access / on

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

WBOY
WBOY原創
2016-06-07 15:44:131290瀏覽

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

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn