--- /dev/null
+# $Id$
+# this config file enables RT in http://host/rt/
+
+PerlModule Apache2
+PerlModule Apache::compat
+PerlModule Apache::DBI
+PerlRequire /usr/bin/webmux.pl
+
+RewriteEngine On
+#RewriteLogLevel 9
+#RewriteLog /var/log/httpd/rewrite.log
+RewriteCond %{REQUEST_URI} ^/rt/
+RewriteRule ^(.*)/$ $1/index.html [PT,NS]
+
+Alias /rt "/usr/share/rt3/html"
+
+<Directory "/usr/share/rt3/html">
+ AddDefaultCharset UTF-8
+
+ PerlSetVar MasonArgsMethod CGI
+
+ SetHandler perl-script
+ PerlHandler RT::Mason
+</Directory>
+
+# vim: filetype=apache ts=4 sw=4 et
--- /dev/null
+# $Id$
+# this config file enables RT in a VirtualHost
+
+<VirtualHost your.ip.address>
+ ServerName your.rt.server.hostname
+ DocumentRoot /usr/share/rt3/html
+
+ AddDefaultCharset UTF-8
+
+ # these four lines apply to Apache2+mod_perl2 only:
+ PerlSetVar MasonArgsMethod CGI
+ PerlModule Apache2 Apache::compat
+ RewriteEngine On
+ RewriteRule ^(.*)/$ $1/index.html
+
+ PerlModule Apache::DBI
+ PerlRequire /usr/bin/webmux.pl
+
+ <Location />
+ SetHandler perl-script
+ PerlHandler RT::Mason
+ </Location>
+</VirtualHost>
+
+# vim: filetype=apache ts=4 sw=4 et