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 History Action Size Date Who Comment
Unknown file formatconf default-server.conf r1 manage 3.7 K 2005-02-03 - 18:15 UnknownUser Conf file that includes all files under /etc/apache/conf.d (where mod_perl.conf & httpd-twiki.conf live)
Unknown file formatext error_log r1 manage 16.7 K 2005-02-03 - 18:19 UnknownUser Apache error log
Unknown file formatconf httpd-twiki.conf r1 manage 3.1 K 2005-02-03 - 18:16 UnknownUser TWiki configuration
Unknown file formatconf httpd.conf r1 manage 7.7 K 2005-02-03 - 18:13 UnknownUser Main Apache conf, includes default-server.conf
Unknown file formatconf loadmodule.conf r1 manage 1.9 K 2005-02-03 - 18:17 UnknownUser Lists Apache modules loaded
Texttxt mod_perl-startup.pl.txt r1 manage 0.6 K 2005-02-03 - 18:21 UnknownUser Script called by mod_perl.conf to set up mod_perl environment
Unknown file formatconf mod_perl.conf r1 manage 0.8 K 2005-02-03 - 18:16 UnknownUser mod_perl configruation
HTMLhtml testenv.html r1 manage 11.2 K 2005-02-03 - 18:18 UnknownUser Output from testenv
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-02-16 - DonSmith
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.