|
发表于 2003-5-31 19:19:12
|
显示全部楼层
终于有了一点进步!
因为对整个过程的设置不完全理解,所以在照葫芦画瓢的时候就会出现很多差错,因为我是按照好多人的设置综合而成的,所以就出现了很多的岔子.
我修改了几个地方.
1) 将.htaccess文件改为可执行的模式
2)baseurl:http://219.242.117.253/lxr/改为
baseurl:http://219.242.117.253/lxr/http
3)将<Directory /var/www/html/lxr/http>
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
改为
<Directory /var/www/html/lxr/http>
Options All
AllowOverride All
</Directory>
现在敲入http://219.242.117.253/lxr/http/source时,出现如下
Linux Cross Reference
linux-2.4.20/
Version: ~ [ 2.4.20 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~
Name Size Last modified (GMT) Description
Folder linux-2.4.20/ 2003-05-29 14:23:50
File fileidx 692224 bytes 2003-05-31 10:08:07
File xref 59965440 bytes 2003-05-31 10:07:50
File xxx 0 bytes 2003-05-30 09:18:44
~ [ source navigation ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~
这大概应该是正常的结果了,但是我进入之后,在代码中点击链接的时候,出现
** Warning: Use of uninitialized value in subroutine entry at /usr/local/lib/perl5/5.8.0/i686-linux/DB_File.pm line 259.
net_random
** Warning: Use of uninitialized value in subroutine entry at /usr/local/lib/perl5/5.8.0/i686-linux/DB_File.pm line 259.
** Fatal: Could not open "/var/www/html/lxr/source/2.4.20/fileidx"
上面的net_random是程序中的链接 |
|