]> git.pld-linux.org Git - packages/rt.git/blob - rt-apache_dir.conf
e5e979fa14898375b2b5d784fe85dd926b9d8f5e
[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 perl-script
22     PerlHandler RT::Mason
23 </Directory>
24
25 # vim: filetype=apache ts=4 sw=4 et
This page took 0.025757 seconds and 3 git commands to generate.