]>
Commit | Line | Data |
---|---|---|
e1f10c02 | 1 | <Directory "/usr/share/rt/html"> |
a30753f5 | 2 | AllowOverride all |
d6f85e28 | 3 | #ExecCGI on |
a30753f5 | 4 | <IfModule mod_authz_host.c> |
d6f85e28 | 5 | Require all granted |
a30753f5 SP |
6 | </IfModule> |
7 | </Directory> | |
8 | ||
ea929c0c | 9 | # XXX: you don't overwrite global documentroot. if you want virtualhost sample add VirtualHost... |
e1f10c02 | 10 | #DocumentRoot /usr/share/rt/html/ |
eee048e8 | 11 | |
eee048e8 | 12 | Alias /error/ "/home/services/httpd/error/" |
eee048e8 SP |
13 | AddDefaultCharset UTF-8 |
14 | ||
15 | PerlModule Apache2::compat | |
16 | ||
17 | PerlModule Apache::DBI | |
eee048e8 SP |
18 | |
19 | <Location /error> | |
20 | </Location> | |
21 | ||
22 | <Location /> | |
e1f10c02 | 23 | # AuthUserFile /usr/share/rt/html |
eee048e8 SP |
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 | ||
e098a304 SP |
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> |