]> git.pld-linux.org Git - packages/rt.git/blame - rt-apache_dir.conf
- up to 4.2.10; fixes CVE-014-9472, CVE-2015-1165, CVE-2015-1464
[packages/rt.git] / rt-apache_dir.conf
CommitLineData
9446e82c 1# $Id$
2# this config file enables RT in http://host/rt/
3
4PerlModule Apache2
5PerlModule Apache::compat
6PerlModule Apache::DBI
9446e82c 7
8RewriteEngine On
9#RewriteLogLevel 9
10#RewriteLog /var/log/httpd/rewrite.log
11RewriteCond %{REQUEST_URI} ^/rt/
12RewriteRule ^(.*)/$ $1/index.html [PT,NS]
13
e1f10c02 14Alias /rt "/usr/share/rt/html"
9446e82c 15
e1f10c02 16<Directory "/usr/share/rt/html">
9446e82c 17 AddDefaultCharset UTF-8
18
19 PerlSetVar MasonArgsMethod CGI
20
e098a304
SP
21 SetHandler modperl
22 PerlResponseHandler Plack::Handler::Apache2
23 PerlSetVar psgi_app /usr/sbin/rt-server
24 <Perl>
25 use Plack::Handler::Apache2;
26 Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
27 </Perl>
28
9446e82c 29</Directory>
30
31# vim: filetype=apache ts=4 sw=4 et
This page took 0.088405 seconds and 4 git commands to generate.