+ -
当前位置:首页 → 问答吧 → 求助! 安装 Pure-FTPd 出现菱形错误提示。

求助! 安装 Pure-FTPd 出现菱形错误提示。

时间:2011-06-17

来源:互联网

大家好,麻烦大家帮我看一下我下面这一小段Apache conf文件
代码:
<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>,

这是我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