]> git.pld-linux.org Git - packages/rt.git/blob - rt-apache.conf
- up to 4.2.11
[packages/rt.git] / rt-apache.conf
1 <Directory "/usr/share/rt/html">
2         AllowOverride all
3         #ExecCGI on
4         <IfModule mod_authz_host.c>
5                 Require all granted
6         </IfModule>
7 </Directory>
8
9 # XXX: you don't overwrite global documentroot. if you want virtualhost sample add VirtualHost...
10 #DocumentRoot /usr/share/rt/html/
11
12     Alias /error/ "/home/services/httpd/error/"
13     AddDefaultCharset UTF-8
14
15     PerlModule Apache2::compat
16
17     PerlModule Apache::DBI
18
19     <Location /error>
20     </Location>
21
22     <Location />
23 #        AuthUserFile /usr/share/rt/html
24 #        AuthGroupFile /dev/null
25 #        AuthName Strefa-admin
26 #        AuthType Basic
27         AddDefaultCharset UTF-8
28         Options ExecCGI
29
30         # SetHandler default
31
32 #       RewriteEngine On
33 #       RedirectMatch permanent (.*)/$ $1/index.html
34
35         SetHandler modperl
36         PerlResponseHandler Plack::Handler::Apache2
37         PerlSetVar psgi_app /usr/sbin/rt-server
38      </Location>
39         <Perl>
40                 use Plack::Handler::Apache2;
41                 Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
42         </Perl>
This page took 0.05872 seconds and 3 git commands to generate.