]> git.pld-linux.org Git - packages/rt.git/blame - rt-apache_vhost.conf
- up to 4.2.10; fixes CVE-014-9472, CVE-2015-1165, CVE-2015-1464
[packages/rt.git] / rt-apache_vhost.conf
CommitLineData
9446e82c 1# $Id$
2# this config file enables RT in a VirtualHost
3
4<VirtualHost your.ip.address>
5 ServerName your.rt.server.hostname
e1f10c02 6 DocumentRoot /usr/share/rt/html
9446e82c 7
8 AddDefaultCharset UTF-8
9
10 # these four lines apply to Apache2+mod_perl2 only:
11 PerlSetVar MasonArgsMethod CGI
12 PerlModule Apache2 Apache::compat
13 RewriteEngine On
14 RewriteRule ^(.*)/$ $1/index.html
15
16 PerlModule Apache::DBI
9446e82c 17
18 <Location />
e098a304
SP
19 SetHandler modperl
20 PerlResponseHandler Plack::Handler::Apache2
21 PerlSetVar psgi_app /usr/sbin/rt-server
22 </Location>
23 <Perl>
24 use Plack::Handler::Apache2;
25 Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
26 </Perl>
9446e82c 27</VirtualHost>
28
29# vim: filetype=apache ts=4 sw=4 et
This page took 0.0292 seconds and 4 git commands to generate.