[Lxr-general] Revised GIT support, running with Apache2
Brought to you by:
ajlittoz
From: Jan-Benedict G. <jb...@lu...> - 2006-11-25 09:46:43
|
Hi! I'm currently rewriting the GIT backend. I still don't know all that much about Perl, but the current code base looks quite better, though it still needs polishing. I also tried to run it with Apache2. Works mostly out of the box. For most of it, .htaccess needs to be modified: PerlHandler Apache::Registry becomes PerlHandler ModPerl::Registry INSTALL instructions also tell me to copy the lib/LXR/* stuff to some system directory, which looks somewhat unacceptable to me. This can be easily worked around: Alias /lxr /home/jbglaw/lxr-git-test/lxr <Directory /home/jbglaw/lxr-git-test/lxr> AllowOverride All </Directory> PerlRequire /home/jbglaw/lxr-git-test/lxr/require.pl The PerlRequire line is the key. I've put this into it, but I need to test whether really all of these are needed (probably not): #!/usr/bin/env perl -w @INC=3D(@INC, "/home/jbglaw/lxr-git-test/lxr", "/home/jbglaw/lxr-git-test/lxr/lib", "/home/jbglaw/lxr-git-test/lxr/lib/Files"); 1; Once this round of polishing the GIT backend is finished, I'll send some patches for the GIT stuff as well as for the docs. MfG, JBG --=20 Jan-Benedict Glaw jb...@lu... +49-172-7608481 Signature of: Wenn ich wach bin, tr=C3=A4ume ic= h. the second : |