Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin TreePlugin ActionTrackerPlugin TWikiDrawPlugin SpreadSheetPlugin BugzillaLinkPlugin CommentPlugin EditTablePlugin InterwikiPlugin RenderListPlugin SlideShowPlugin SmiliesPlugin TablePlugin XpTrackerPlugin
Server OS: SUSE 9, 2.4.21-266-default
Web server: Apache 2.0.48
Perl version: 5.8.1
Client OS: Novell Linux Desktop, kernel 2.6.5-7.111.22-default
Web Browser: Firefox
Categories: Installation

-- 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

 
Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatconf default-server.conf manage 3.7 K 2005-02-03 - 18:15 DonSmith Conf file that includes all files under /etc/apache/conf.d (where mod_perl.conf & httpd-twiki.conf live)
Unknown file formatEXT error_log manage 16.7 K 2005-02-03 - 18:19 DonSmith Apache error log
Unknown file formatconf httpd-twiki.conf manage 3.1 K 2005-02-03 - 18:16 DonSmith TWiki configuration
Unknown file formatconf httpd.conf manage 7.7 K 2005-02-03 - 18:13 DonSmith Main Apache conf, includes default-server.conf
Unknown file formatconf loadmodule.conf manage 1.9 K 2005-02-03 - 18:17 DonSmith Lists Apache modules loaded
Texttxt mod_perl-startup.pl.txt manage 0.6 K 2005-02-03 - 18:21 DonSmith Script called by mod_perl.conf to set up mod_perl environment
Unknown file formatconf mod_perl.conf manage 0.8 K 2005-02-03 - 18:16 DonSmith mod_perl configruation
HTMLhtml testenv.html manage 11.2 K 2005-02-03 - 18:18 DonSmith Output from testenv
Topic revision: r3 - 2005-02-16 - DonSmith
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.