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>
<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>
相关文章推荐
- win10更新安装会卡在44%怎么办?windows10更新安装卡在44%的解决办法
- swift 泛型
- 数据结构上机实验之顺序查找
- CSS选择器
- laravel5中 blade模板引入项目中的css js文件
- swift 泛型
- Python 批量修改文件
- centOS环境ab性能测试功能
- mongodb
- C/C++中位域的使用
- 使用URL Rewrite实现网站伪静态
- 结巴net 分词 配置文件路径,在网站中的出现问题的解决
- struts2的核心和工作原理
- DB2编目
- 杭电1036 Average is not Fast Enough!
- 数据结构上机实验之二分查找
- 关于对称加密与非对称加密
- 关于技术的本质浅显探究
- Dorado7检验器失效原因分析
- linux账号权限管理