aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-08 01:16:56 +0100
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-08 01:16:56 +0100
commit2e28387613b7de506671f1657ed539d2470caff1 (patch)
tree4f50dd249d0dc15462909a9dab577913b8e29178 /INSTALL
parenta57b1d79950ce63209e052a1b1f394cf3c6eb588 (diff)
Add Apache config template for mod_perl.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL18
1 files changed, 16 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index f278647..7c18f11 100644
--- a/INSTALL
+++ b/INSTALL
@@ -20,6 +20,8 @@ DEPENDENCIES
- HTML::Entities [libhtml-parser-perl]
- Template [libtemplate-perl]
+* (For gzip content transfer compression: PerlIO::gzip)
+
* "Exuberant ctags", runnable as ctags-exuberant somewhere in the
current $PATH. [exuberant-ctags]
@@ -46,13 +48,25 @@ INSTALLATION
* Cross reference your source repository
$ lxr-genxref <my-tree>
-* Copy the apache2-site.conf-dist to apache2-site.conf and adjust.
+* Set up apache config
+ Determine values for
+ @@LXRURL@@
+ Subdirectory of your web site to show the LXRng interface,
+ "", "/lxr", "/tools/lxr" or other.
+ @@LXRROOT@@
+ Installation path of LXRng suite.
+
+ Choose cgi or mod_perl mode of operation. Based on
+ apache2-site.conf-dist-[cgi|mod_perl], generate apache2-site.conf
+ to suit your local requirements.
+
+ Add to global Apache2 configuration:
# ln -s <lxr-path>/apache2-site.conf /etc/apache2/sites-enabled/010-lxrng
# /etc/init.d/apache2 reload
(Or equivalent, depending on operating system (distribution) flavor.)
* (Generate PNG icons)
- $ make -C <lxr-path>/cgi-bin/gfx
+ $ make -C <lxr-path>/webroot/.static/gfx
* Point web browser to configured web location.