]>
Commit | Line | Data |
---|---|---|
e1f10c02 | 1 | <Directory "/usr/share/rt/html"> |
a30753f5 SP |
2 | AllowOverride all |
3 | #ExecCGI on | |
4 | <IfModule mod_authz_host.c> | |
5 | Order allow,deny | |
6 | Allow from all | |
7 | </IfModule> | |
8 | </Directory> | |
9 | ||
ea929c0c | 10 | # XXX: you don't overwrite global documentroot. if you want virtualhost sample add VirtualHost... |
e1f10c02 | 11 | #DocumentRoot /usr/share/rt/html/ |
eee048e8 | 12 | |
e1f10c02 | 13 | Alias /NoAuth/images/ /usr/share/rt/html/NoAuth/images/ |
eee048e8 | 14 | Alias /error/ "/home/services/httpd/error/" |
eee048e8 SP |
15 | AddDefaultCharset UTF-8 |
16 | ||
17 | PerlModule Apache2::compat | |
18 | ||
19 | PerlModule Apache::DBI | |
eee048e8 SP |
20 | |
21 | <Location /error> | |
22 | </Location> | |
23 | ||
24 | <Location /> | |
e1f10c02 | 25 | # AuthUserFile /usr/share/rt/html |
eee048e8 SP |
26 | # AuthGroupFile /dev/null |
27 | # AuthName Strefa-admin | |
28 | # AuthType Basic | |
29 | AddDefaultCharset UTF-8 | |
30 | Options ExecCGI | |
31 | ||
32 | # SetHandler default | |
33 | ||
34 | # RewriteEngine On | |
35 | # RedirectMatch permanent (.*)/$ $1/index.html | |
36 | ||
e098a304 SP |
37 | SetHandler modperl |
38 | PerlResponseHandler Plack::Handler::Apache2 | |
39 | PerlSetVar psgi_app /usr/sbin/rt-server | |
40 | </Location> | |
41 | <Perl> | |
42 | use Plack::Handler::Apache2; | |
43 | Plack::Handler::Apache2->preload("/usr/sbin/rt-server"); | |
44 | </Perl> |