URL /lxr was not found
$ 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
请高人指点...
回复 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 编辑 ] 问题已经解决,查了好久,发现有个地方没有设置...
LXR源码中vi apache2-site.conf
将@@LXRURL@@改成lxr就可以了...低级错误
页:
[1]