Chinaunix
标题:
启动apache后访问index.html
[打印本页]
作者:
zfdream101
时间:
2012-03-15 11:36
标题:
启动apache后访问index.html
我在启动了apache后访问index.html
curl http://localhost
出现这样
<html><body><h1>It works!</h1></body></html>
这是怎么回事?
作者:
qkyz1983
时间:
2012-03-15 12:26
这是你index.html的内容啊
作者:
meditatorzhang
时间:
2012-03-15 12:41
没错啊,你通过浏览器访问这个文件,查看源码也是这样啊
作者:
lastfile
时间:
2012-03-15 14:33
绝对没错啊
作者:
a55569769
时间:
2012-03-15 17:07
很明显传输过去HTML语句了么,你看看是不是浏览器的问题
作者:
dida2000
时间:
2012-03-16 10:22
浏览器显示的带有着html代码的内容吧,怀疑你的浏览器设置有问题
作者:
dooros
时间:
2012-03-16 19:10
zfdream101 发表于 2012-03-15 11:36
我在启动了apache后访问index.html
curl http://localhost
出现这样
你用浏览器访问试试。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2