Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-07 15:44:13
Original
1290 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template