您的位置:首页 > 其它

wamp 中配置域名的虚拟主机

2015-11-13 16:44 211 查看
#配置自己的虚拟主机
<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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: