Apache2.4x版本的403问题

    听说Apache2.4x版本改进了很多,具体也没研究,但是把自己的Apache2.2升级到2.4的时候,虚拟主机一直403.把我以前的配置文件直接复制过去都这样,百度都是TM的没用的。。。不过我还是找到了。哈!

    

<VirtualHost 127.0.0.1:80>
    ServerName mypro
    ServerAlias mypro
    DocumentRoot "d:/mypro"
    DirectoryIndex index.html index.php
</VirtualHost>
<Directory "d:/mypro">
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
     Require all granted   
</Directory>
我把我的帖出来,看有没有人用到。
Require all granted
这个就是2.4新加的,。。。。睡觉去!半夜起来写代码!

你可能感兴趣的:(Apache2.4x版本的403问题)