]>
Commit | Line | Data |
---|---|---|
9446e82c | 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 | PerlRequire /usr/bin/webmux.pl | |
8 | ||
9 | RewriteEngine On | |
10 | #RewriteLogLevel 9 | |
11 | #RewriteLog /var/log/httpd/rewrite.log | |
12 | RewriteCond %{REQUEST_URI} ^/rt/ | |
13 | RewriteRule ^(.*)/$ $1/index.html [PT,NS] | |
14 | ||
15 | Alias /rt "/usr/share/rt3/html" | |
16 | ||
17 | <Directory "/usr/share/rt3/html"> | |
18 | AddDefaultCharset UTF-8 | |
19 | ||
20 | PerlSetVar MasonArgsMethod CGI | |
21 | ||
22 | SetHandler perl-script | |
23 | PerlHandler RT::Mason | |
24 | </Directory> | |
25 | ||
26 | # vim: filetype=apache ts=4 sw=4 et |