]>
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 | |
9446e82c | 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/rt3/html" | |
15 | ||
16 | <Directory "/usr/share/rt3/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 |