]>
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 | |
e1f10c02 | 12 | Alias /NoAuth/images/ /usr/share/rt/html/NoAuth/images/ |
eee048e8 | 13 | Alias /error/ "/home/services/httpd/error/" |
eee048e8 SP |
14 | AddDefaultCharset UTF-8 |
15 | ||
16 | PerlModule Apache2::compat | |
17 | ||
18 | PerlModule Apache::DBI | |
eee048e8 SP |
19 | |
20 | <Location /error> | |
21 | </Location> | |
22 | ||
23 | <Location /> | |
e1f10c02 | 24 | # AuthUserFile /usr/share/rt/html |
eee048e8 SP |
25 | # AuthGroupFile /dev/null |
26 | # AuthName Strefa-admin | |
27 | # AuthType Basic | |
28 | AddDefaultCharset UTF-8 | |
29 | Options ExecCGI | |
30 | ||
31 | # SetHandler default | |
32 | ||
33 | # RewriteEngine On | |
34 | # RedirectMatch permanent (.*)/$ $1/index.html | |
35 | ||
e098a304 SP |
36 | SetHandler modperl |
37 | PerlResponseHandler Plack::Handler::Apache2 | |
38 | PerlSetVar psgi_app /usr/sbin/rt-server | |
39 | </Location> | |
40 | <Perl> | |
41 | use Plack::Handler::Apache2; | |
42 | Plack::Handler::Apache2->preload("/usr/sbin/rt-server"); | |
43 | </Perl> |