I've been working on the debian package, and did the following - I think TWiki should ship with similar bits..
<IfModule mod_perl.c>
<IfDefine APACHE2>
#mod_perl - apache 2
# This matches all lower-case file names, except
# those starting with "configure"
<FilesMatch "^(?!configure)[a-z.]+$">
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlSendHeader On
PerlOptions +ParseHeaders
</FilesMatch>
</IfDefine>
<IfDefine !APACHE2>
#assume this is apache1.3.x
# This matches all lower-case file names, except
# those starting with "configure"
<FilesMatch "^(?!configure)[a-z.]+$">
SetHandler perl-script
PerlHandler Apache::Registry
</FilesMatch>
</IfDefine>
I'm looking into it... if it all works, i'll toss it into the patch too
--
TWiki:Main/SvenDowideit
- 15 Apr 2007
I would not enable mod_perl by default. There are still many problems with it and especially when you install extra plugins.
--
TWiki:Main.KennethLavrsen
- 15 Apr 2007
after working on this a little more, i agree, there are too many corner cases that cause odd or fatal failures.
Sven