问答详情
源自:2-2 测试环境搭建

2-2章节:httpd.conf下加的那段配置,谁可以帮忙提供吗?看不清~

2-2章节:httpd.conf下加的那段配置,谁可以帮忙提供吗?看不清~

提问者:RHK 2017-12-05 19:48

个回答

  • 田心今心ni
    2018-01-10 16:02:14
    已采纳

    <VirtualHost *:80>

        DocumentRoot "E:\dvwa"

        ServerName dvwa.localhost

        <Directory "E:\dvwa">

            Options Indexes FollowSymLinks

            AllowOverride All

            Require all granted

        </Directory>

    </VirtualHost>


  • 慕无忌5588455
    2018-07-09 19:43:25

    https://img.mukewang.com/5b434a1a00010c7e09600783.jpg我的这样子的,输入代码之后wampserver服务就打不开

  • 年轻_NeverSettl
    2017-12-26 16:47:55

    <VirtualHost *:80>

        ServerAdmin webmaster@dummy-host.example.com

        DocumentRoot "D:\WWW\DVWA-master"

        ServerName dvwa.localhost

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

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

    </VirtualHost>