Re: [Lxr-general] My configuration complications
Brought to you by:
ajlittoz
From: Jan-Benedict G. <jb...@lu...> - 2007-05-14 20:15:58
|
On Sat, 2007-05-12 20:33:00 +0500, Shahbaz Khan <sha...@gm...> wrot= e: > Currently, after all configurations I do http://localhost/source, it > dumps the source.pl script from lxr directory as text! This is an important step. What exact LXR version do you use (released 0.9.x or from CVS?) and what exact kind of web server (Apache 1.x? Apache 2.x?) are you using? >From the INSTALL file: Apache2, modperl2 and LXR /--------------- |Edit the .htaccess file and change "Apache::Registry" to |"ModPerl::Registry". You also need to let modperl2 know about |where to find LXR perl modules. You can add a line like this |to your Apache2 config: | | PerlRequire /usr/local/lxr/require.pl | |with about this contents: |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |#!/usr/bin/env perl -w |@INC=3D(@INC, "/usr/local/lxr", | "/usr/local/lxr/lib", | "/usr/local/lxr/lib/Files"); |1; |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \--------------- For me, it worked by just installing the appropriate Debian packages (libapache2-mod-perl2 and apache2) and enabling the module (link it into /etc/apache2/mods-enabled from mods-availabl). MfG, JBG --=20 Jan-Benedict Glaw jb...@lu... +49-172-7608481 Signature of: http://catb.org/~esr/faqs/smart-questions.html the second : |