Question
I have enabled mod_perl in my TWiki staging environment to try to improve performance. After tweakding several files, things seem to be working correctly, except that I am seeing a lot of error messages in apache's error log like:
[Thu Feb 03 11:27:04 2005] [error] [client 164.99.208.35] File does not exist: /srv/www/twiki/pub/TWiki/DonSmith, referer:
http://bunch.qalab.wal.novell.com/twiki/bin/view/Main/DonSmith
It looks like TWiki is looking for the attachments for a page in the Main web in the pub/TWiki folder instead of the pub/Main folder.
It looks like I'm missing something in my configuration, but I can't figure out what. I have the following config. files for Apache (attached) to enable mod_perl:
- loadmodule.conf - added LoadModule perl_module /usr/lib/apache2-prefork/mod_perl.so
- httpd-twiki.conf - added
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
- mod_perl.conf - default from Apache installation
- mod_perl-startup.pl - added
use lib qw(/srv/www/twiki/lib);
What am I missing in my configuration??
Thanks!
DonSmith
Environment
--
DonSmith - 03 Feb 2005
Answer
The error was caused by the
BugzillaLinkPlugin. The %BUGIMGURL% was defined incorrectly, so pages with %BUG{###}% on them were not finding the image URL, and throwing the file not found error. Unfortunately the error message did not include the file name or the problem would have been obvious.
--
DonSmith - 14 Feb 2005