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

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

WBOY
WBOYOriginal
2016-06-07 15:44:131286browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn