QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2092|回复: 2

URL /lxr was not found

[复制链接]
发表于 2009-5-6 12:25:18 | 显示全部楼层 |阅读模式
$ sudo /etc/init.d/apache2 reload
* Reloading web server config apache2                                                                                                                       apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
我按照网上别人的设置方法:
将/etc/hosts改成如下:

127.0.0.1   localhost
127.0.0.1   francois-laptop
... ....
ServerName localhost(新加入的一句)

重新加载apache2发现还是上面的错误...

地址栏输入:http://localhost/lxr
给出如下信息:
Not Found

The requested URL /lxr was not found on this server.
Apache/2.2.11 (Ubuntu) mod_perl/2.0.4 Perl/v5.10.0 Server at localhost Port 80

请高人指点...
 楼主| 发表于 2009-5-6 12:34:03 | 显示全部楼层

回复 1# boy0673 的帖子

郁闷了...搞了一早上,发现修改文件的地方不对,不是vi  /etc/hosts
而是修改/etc/apache2/httpd.conf
$sudo /etc/init.d/apache2 reload
* Reloading web server config apache2                                   [ OK ]

但还是出现
Not Found

The requested URL /lxr was not found on this server.
Apache/2.2.11 (Ubuntu) mod_perl/2.0.4 Perl/v5.10.0 Server at localhost Port 80

[ 本帖最后由 boy0673 于 2009-5-6 12:44 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2009-5-6 12:55:01 | 显示全部楼层
问题已经解决,查了好久,发现有个地方没有设置...
LXR源码中vi apache2-site.conf
将@@LXRURL@@改成lxr就可以了...低级错误
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-19 13:35 , Processed in 0.306843 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表