- 论坛徽章:
- 0
|
我在FC4下安装LXR,但是打开主页http://192.168.121.104/lxr/http/blurb.html
却还是显示
Cross-Referencing Linux
Browse the code
这种信息.
我安装的为apache为httpd-2.0.59.tar.bz2 安装目录为/usr/local/apache2/
安装LXR目录为/usr/local/apache2/htdocs/lxr版本为lxr-0.3.1.tar.gz
安装后配置lxr.conf如下:
baseurl: http://192.168.121.104/htdocs/lxr/http
htmlhead: /usr/local/apache2/htdocs/lxr/http/template-head
htmltail: /usr/local/apache2/htdocs/lxr/http/template-tail
htmldir: /usr/local/apache2/htdocs/lxr/http/template-dir
sourceroot: /root/test 我自己的代码.
dbdir: /usr/local/apache2/htdocs/lxr/dbdir
glimpsebin: /usr/bin/glimpse
执行:
mkdir /usr/local/apache2/htdocs/lxr/dbdir
.htaccess为:
<Files ~ (source|search|ident|diff|find)$>
SetHandler cgi-script
</Files>
修改/etc/httpd/conf/httpd.conf
加入
<Directory usr/local/apache2/htdocs/lxr/http>
Options All
AllowOverride All
order allow,deny
allow from all
</Directory>
进入目录:
/usr/local/apache2/htdocs/lxr/dbdir
执行:
/usr/local/apache2/htdocs/lxr/bin/genxref /root/test
chmod +r *
请问还缺少哪些步骤或那步设置错误!!! |
|