aboutsummaryrefslogtreecommitdiffstats
path: root/apache2-site.conf-dist-mod_perl
diff options
context:
space:
mode:
Diffstat (limited to 'apache2-site.conf-dist-mod_perl')
-rw-r--r--apache2-site.conf-dist-mod_perl32
1 files changed, 32 insertions, 0 deletions
diff --git a/apache2-site.conf-dist-mod_perl b/apache2-site.conf-dist-mod_perl
new file mode 100644
index 0000000..bfee027
--- /dev/null
+++ b/apache2-site.conf-dist-mod_perl
@@ -0,0 +1,32 @@
+PerlInitHandler Apache2::Reload
+PerlOptions +GlobalRequest
+PerlRequire @@LXRROOT@@/lxrng_mod_perl.pl
+PerlModule LXRng::ModPerl
+
+Alias /@@LXRURL@@ "@@LXRROOT@@/webroot/"
+
+<Directory "@@LXRROOT@@/webroot/">
+ Options ExecCGI
+ AllowOverride None
+ Order deny,allow
+ Allow from all
+
+ <Files *>
+ SetHandler perl-script
+ PerlResponseHandler LXRng::ModPerl
+ </Files>
+
+ <Files favicon.ico>
+ SetHandler send-as-is
+ </Files>
+
+ <Files robots.txt>
+ SetHandler send-as-is
+ </Files>
+</Directory>
+
+<Directory "@@LXRROOT@@/webroot/.static/">
+ <Files *>
+ SetHandler send-as-is
+ </Files>
+</Directory>