求助! 安装 Pure-FTPd 出现菱形错误提示。
时间:2011-06-17
来源:互联网
大家好,麻烦大家帮我看一下我下面这一小段Apache conf文件
这是我apache服务器上的一个Virtual Host的配置。
目前的问题是,我可以通过访问 http://[apache-server-ip]/看到 root-dir-80下面的 index.html,但是在index.html页面里的任何超链接都访问不到。比如说index.html里有一个anchor标签:
我点了temp1超链接后,地址栏是 http://[apache-server-ip]/temp1.html,但是Google Chrome显示“Oops! Google Chrome could not connect to [apache-server-ip]”。也就是说,看上去好像我只要尝试访问index.html上的任何连接,浏览器就无法连接到服务器了。但是访问index.html,一切正常。
不太明白为什么,麻烦大家帮个忙,谢谢。
代码:
<VirtualHost *:80>
ServerName ***********
DocumentRoot /home/*****/wwwroot/root-dir-80
</VirtualHost>
<Directory /home/*****/wwwroot/root-dir-80>
Order Allow,Deny
Allow from All
DirectoryIndex index.html index.htm index.php
</Directory>,
ServerName ***********
DocumentRoot /home/*****/wwwroot/root-dir-80
</VirtualHost>
<Directory /home/*****/wwwroot/root-dir-80>
Order Allow,Deny
Allow from All
DirectoryIndex index.html index.htm index.php
</Directory>,
这是我apache服务器上的一个Virtual Host的配置。
目前的问题是,我可以通过访问 http://[apache-server-ip]/看到 root-dir-80下面的 index.html,但是在index.html页面里的任何超链接都访问不到。比如说index.html里有一个anchor标签:
代码:
<a href="temp1.html">temp1</a>
我点了temp1超链接后,地址栏是 http://[apache-server-ip]/temp1.html,但是Google Chrome显示“Oops! Google Chrome could not connect to [apache-server-ip]”。也就是说,看上去好像我只要尝试访问index.html上的任何连接,浏览器就无法连接到服务器了。但是访问index.html,一切正常。
不太明白为什么,麻烦大家帮个忙,谢谢。
作者: blueabysm 发布时间: 2011-06-17
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28