aboutsummaryrefslogtreecommitdiffstats
path: root/apache2-site.conf-dist-mod_perl
blob: bfee027fa72d247652dfbce8885b22bf10c061df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>