在wampserver 3.1.0中创建虚拟主机时出现问题

时间:2018-03-17 19:47:34

标签: php localhost virtualhost wampserver

以下是我在 httpd-vhosts.conf 目录中的代码" C:\ wamp64 \ bin \ apache \ apache2.4.27 \ conf \ extra"

<VirtualHost *:80>
    ServerName customhost.dev
    DocumentRoot "${INSTALL_DIR}/www/customhost/"
    <Directory "${INSTALL_DIR}/www/customhost/">
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

=============================================== ================= 下面是我在目录中的主机文件中放置的代码 &#34; C:\窗口\ system32 \驱动程序\等\主机&#34;

:: 1 localhost

:: 1 customhost.dev

=============================================== ================= 以下问题多次尝试!!! enter image description here

即使在WAMPSERVER的闪存屏幕中显示

enter image description here

0 个答案:

没有答案
相关问题