修改一下文件位置,引入文件

下面是配置文件添加配置指向目录

<VirtualHost *:80>

    ServerAdmin 979996962@qq.com

    DocumentRoot "d:/wamp/www/yong/" 指向文件夹

    ServerName yong.com域名,不用http

    ErrorLog "logs/dummy-host2.example.com-error.log"

    CustomLog "logs/dummy-host2.example.com-access.log" common

    <directory "d:/wamp/www/yong/">文件夹

 

    Options FollowSymLinks

    AllowOverride all

    order Deny,Allow

    Deny from all

    Allow from all

    </directory>

</VirtualHost>