I have tweaked my mod_perl2 config as below, because the
method I advertised earlier in README does not work with
local/html/* pages – they get silently dropped with 404.
With mod_rewrite, this problem is solved and there both may now use the
correct setting.
Thanks,
/Autrijus/
@@ -197,32 +197,20 @@
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
-
these two lines applies to Apache2+mod_perl2 only
-
these four lines applies to Apache2+mod_perl2 only: {{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat -
RewriteEngine On
-
RewriteRule ^(.*)/$ $1/index.html
-
}}}
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
-
this section applies to Apache 1 only
SetHandler perl-script PerlHandler RT::Mason -
this section applies to Apache2+mod_perl2 only
- <FilesMatch “.html$”>
-
SetHandler perl-script
-
PerlHandler RT::Mason
- <LocationMatch “/Attachment/”>
-
SetHandler perl-script
-
PerlHandler RT::Mason
- <LocationMatch “/REST/”>
-
SetHandler perl-script
-
PerlHandler RT::Mason
signature.asc (187 Bytes)