2 # this config file enables RT in a VirtualHost
4 <VirtualHost your.ip.address>
5 ServerName your.rt.server.hostname
6 DocumentRoot /usr/share/rt/html
8 AddDefaultCharset UTF-8
10 # these four lines apply to Apache2+mod_perl2 only:
11 PerlSetVar MasonArgsMethod CGI
12 PerlModule Apache2 Apache::compat
14 RewriteRule ^(.*)/$ $1/index.html
16 PerlModule Apache::DBI
20 PerlResponseHandler Plack::Handler::Apache2
21 PerlSetVar psgi_app /usr/sbin/rt-server
24 use Plack::Handler::Apache2;
25 Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
29 # vim: filetype=apache ts=4 sw=4 et