初学者apache配置有关问题

WBOY
Release: 2016-06-13 10:46:37
Original
919 people have browsed it

菜鸟apache配置问题
apache配置:
ServerName www.abc.com
DocumentRoot E:/www/abc

hosts文件已经确认没有错误 但是访问www.abc.com的时候总是直接进入E盘www文件下面,列出一串文件名,并没有进入到abc文件中,这是什么原因呢?急急急!

------解决方案--------------------
1.加引号
2.检查一下还有没有其他vitualhost项混淆了
3.修改完要重启apache

------解决方案--------------------
楼主是在哪里进行测试的。
------解决方案--------------------
参考以下文章
http://www.neoease.com/apache-virtual-host/

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template