]> git.pld-linux.org Git - packages/rt.git/blob - rt-apache_dir.conf
- up to 4.2.11
[packages/rt.git] / rt-apache_dir.conf
1 # $Id$
2 # this config file enables RT in http://host/rt/
3
4 PerlModule Apache2
5 PerlModule Apache::compat
6 PerlModule Apache::DBI
7
8 RewriteEngine On
9 #RewriteLogLevel 9
10 #RewriteLog /var/log/httpd/rewrite.log
11 RewriteCond %{REQUEST_URI}  ^/rt/
12 RewriteRule ^(.*)/$         $1/index.html [PT,NS]
13
14 Alias /rt "/usr/share/rt/html"
15
16 <Directory "/usr/share/rt/html">
17     AddDefaultCharset UTF-8
18
19     PerlSetVar MasonArgsMethod CGI
20
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
29 </Directory>
30
31 # vim: filetype=apache ts=4 sw=4 et
This page took 0.040003 seconds and 3 git commands to generate.