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

wamp添加本地虚拟域名

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

<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>

相关文章:

  • 2021-05-10
  • 2022-01-11
  • 2021-05-28
  • 2021-09-19
  • 2021-12-17
  • 2022-12-23
  • 2021-08-12
  • 2022-01-02
猜你喜欢
  • 2021-11-25
  • 2021-05-17
  • 2021-10-14
  • 2022-12-23
  • 2021-05-11
  • 2021-11-01
相关资源
相似解决方案