摘要:
1.打开apche配置文件httpd.conf,将Include conf/extra/httpd-vhosts.conf前面的#去掉;2.在apache的目录下进入conf/extra;找到http-vhosts.conf文件,打开后在最后一行添加上如下代码后重启apache; 1 <VirtualHost *:80> 2 ServerAdmin webmaster@dummy-host2.hleclerc-PC.ingenidev 3 DocumentRoot "C:/wamp/www/hsy" 4 ServerName hsy.com 5 Director 阅读全文