win apache配置虚拟目录

来源:互联网 发布:黑客帝国动画版 知乎 编辑:程序博客网 时间:2024/05/21 18:05
win apache配置虚拟目录
Listen 8088

<VirtualHost *:8088>
        ServerAdmin LqContact.com
        DocumentRoot "D:/tony/LqContact"
        ServerName LqContact.com
        <Directory "D:/tony/LqContact">
          Options Indexes FollowSymLinks
               AllowOverride All
               Order allow,deny
               Allow from all
               Require all granted
        </Directory>
</VirtualHost>
两步即可Require all granted否则出现forbid没权限
0 0
原创粉丝点击