wamp 中配置域名的虚拟主机
#配置自己的虚拟主机
<VirtualHost *:80>
#网站目录,如果在www目录下的php目录,下面就填写F:/www/phpp
ServerAdmin www.ecx.com
DocumentRoot "D:/wamp/www/ecx"
#域名
ServerName www.ecx.com
#这里配置欢迎首页面
DirectoryIndex index.html index.htm index.php
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。