wamp httpd-vhosts.conf
配置Apache的httpd.conf文件
Include conf/extra/httpd-vhosts.conf
修改apache的vhost文件
<VirtualHost *:80> DocumentRoot "D:\wamp\www\blog\public" ServerName blog.my </VirtualHost>
修改本地host
127.0.0.1 blog.dev
配置Apache的httpd.conf文件
Include conf/extra/httpd-vhosts.conf
修改apache的vhost文件
<VirtualHost *:80> DocumentRoot "D:\wamp\www\blog\public" ServerName blog.my </VirtualHost>
修改本地host
127.0.0.1 blog.dev