Tags:
create new tag
view all tags

Question

I'm trying to install Twiki 4.0.1 on a vhost server running with Plesk 7.5.4. I just came to the configure.cgi file, but as I want to look at the view file I get a 500 Internal Server Error. When trying to change the .htaccess.txt at the lib folder I even get a 500 Internal Server error at the configure.cgi file.

If you wanna take a look, feel free to visit the following URLs: http://www.tu3w.net/cgi-bin/twiki/bin/configure.cgi http://www.tu3w.net/cgi-bin/twiki/bin/view.cgi

I would really appretiate every advice, since we are very interested in evaluating this nice piece of software to migrate from the mediawiki. Thanks a lot!

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux 9
Web server: Apache 1.3.29
Perl version: 5.80
Client OS: MS Windows XP, SP2
Web Browser: Mozilla Firefox 1.5
Categories: Installation, Htaccess, Fatal error

-- TWikiGuest - 10 Feb 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

What does the Apache error_log tell you? Some hosted sites require specific file permissions, ownership and group permissions.

-- PeterThoeny - 10 Feb 2006

This is the error we're getting and is making us crazy frown :

[Fri Feb 10 12:45:15 2006] [error] [client 200.63.254.34] Premature end of script headers: view.cgi [Fri Feb 10 12:45:15 2006] [error] [client 200.63.254.34] Can't locate CGI/Session.pm in @INC (@INC contains: /home/httpd/vhosts/tu3w.net/cgi-bin/twiki/lib/CPAN/lib//arch/ /home/httpd/vhosts/tu3w.net/cgi-bin/twiki/lib/CPAN/lib//5.8.0/i386-linux-thread-multi/ /home/httpd/vhosts/tu3w.net/cgi-bin/twiki/lib/CPAN/lib//5.8.0/ /home/httpd/vhosts/tu3w.net/cgi-bin/twiki/lib/CPAN/lib// /home/httpd/vhosts/tu3w.net/cgi-bin/twiki/lib . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at (eval 7) line 1. [Fri Feb 10 12:45:15 2006] [error] [client 200.63.254.34] BEGIN failed--compilation aborted at (eval 7) line 1.

-- TWikiGuest - 10 Feb 2006

Install CGI::Session.pm and try again.

-- MichaelDaum - 10 Feb 2006

I've made an installation at another domain at the same server and the problem is reflecting there as well.

The CGI::Session issue is solved, however the 500 Internal Server Issue is not! frown

-- TWikiGuest - 10 Feb 2006

The internal server error is probably due to permissions. I had the same problem with Plesk. All files must be owned by the webserver user, and nothing can have permissions more generous than 755.

-- CrawfordCurrie - 23 Feb 2006

I had the same experience with Plesk. Try to run this helloworld.pl program in your bin directory:

#!/usr/bin/perl
print "Content-type: text/html\r\n\r\n";
print "<html>\n<head><title>Hello World!</title></head>\n";
print "<body>\n";
print "<h1>Hello World!</h1>\n";
print "</body>\n</html>\n";

Tweak your permissions until it runs from the browser.

-- PeterThoeny - 12 Mar 2006

I have the same error but don't know how to install CGI::Session.

-- JeroenVanDerWal - 06 Apr 2006

I found the solution.

-- JeroenVanDerWal - 11 Apr 2006

Hi Jeroen,

I am experiencing a simliar problem with twiki accessing the cgi::session perl module...Any chance you could share the solution??

Cheers,

Sarah

-- SarahYeoh - 26 Feb 2007

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2007-02-26 - SarahYeoh
 
  • 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.