Re: problem with mod_perl and twiki

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Monday, 19 September 2011 19:38:06 Carla von Reitzenstein wrote:
>  <FilesMatch "^(?!configure)[a-z.]+$">
>    SetHandler perl-script
>    PerlResponseHandler ModPerl::Registry
>    PerlSendHeader On
>    PerlOptions +ParseHeaders
> </FilesMatch>

Obviously, this config applies also for JS/CSS files and images. Hence 
modperl tries to interpret those files as perl code. I don't know TWiki 
but I think you should modify the regexp above to match only perl 
scripts, something like ".+\.pl". It depends upon your or rather TWiki's 
naming conventions.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.