diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-08 01:16:56 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-08 01:16:56 +0100 |
commit | 2e28387613b7de506671f1657ed539d2470caff1 (patch) | |
tree | 4f50dd249d0dc15462909a9dab577913b8e29178 /apache2-site.conf-dist-cgi | |
parent | a57b1d79950ce63209e052a1b1f394cf3c6eb588 (diff) |
Add Apache config template for mod_perl.
Diffstat (limited to 'apache2-site.conf-dist-cgi')
-rw-r--r-- | apache2-site.conf-dist-cgi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apache2-site.conf-dist-cgi b/apache2-site.conf-dist-cgi new file mode 100644 index 0000000..7ee3cda --- /dev/null +++ b/apache2-site.conf-dist-cgi @@ -0,0 +1,16 @@ + +Alias @@LXRURL@@/favicon.ico "@@LXRROOT@@/webroot/favicon.ico" +Alias @@LXRURL@@/robots.txt "@@LXRROOT@@/webroot/robots.txt" +Alias @@LXRURL@@/.static "@@LXRROOT@@/webroot/.static" + +# For LXRng installed directly in the web site root, use +# ScriptAlias / "@@LXRROOT@@/webroot/lxr.cgi/" +# otherwise use (no trailing slash): +# ScriptAlias /@@LXRURL@@ "@@LXRROOT@@/webroot/lxr.cgi" + +<Directory "@@LXRROOT@@/webroot/"> + Options ExecCGI + AllowOverride None + Order deny,allow + Allow from all +</Directory> |