]>
Commit | Line | Data |
---|---|---|
9446e82c | 1 | # $Id$ |
2 | # this config file enables RT in a VirtualHost | |
3 | ||
4 | <VirtualHost your.ip.address> | |
5 | ServerName your.rt.server.hostname | |
6 | DocumentRoot /usr/share/rt3/html | |
7 | ||
8 | AddDefaultCharset UTF-8 | |
9 | ||
10 | # these four lines apply to Apache2+mod_perl2 only: | |
11 | PerlSetVar MasonArgsMethod CGI | |
12 | PerlModule Apache2 Apache::compat | |
13 | RewriteEngine On | |
14 | RewriteRule ^(.*)/$ $1/index.html | |
15 | ||
16 | PerlModule Apache::DBI | |
17 | PerlRequire /usr/bin/webmux.pl | |
18 | ||
19 | <Location /> | |
20 | SetHandler perl-script | |
21 | PerlHandler RT::Mason | |
22 | </Location> | |
23 | </VirtualHost> | |
24 | ||
25 | # vim: filetype=apache ts=4 sw=4 et |