Tags:
create new tag
, view all tags

Question

I'm in need of some assistance with getting TWiki running on Windows 2003. Please see below for my platform details. I have spent 2 days on this now, but refuse to give in smile

I've followed various cookbooks and instructions to the point where I can run the configure.pl script and it works with no errors. When I try to access view.pl I get an error "The specified CGI application misbehaved by not returning a complete set of HTTP headers." If I run the view.pl from within a cmd shell, it works fine and outputs as expected. I'm fairly certain that the view.pl lines requiring setlib and other files (last two line in view.pl) are the cause of the web server error. As I have limited perl abilities, can anyone suggest some code that will help me flush out the path it's looking in? Maybe some perl code to dump the current directory? I'm pretty sure this has to be a pathing error.

thanks

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows Server 2003
Web server: IIS6
Perl version: ActivePerl v5.8.8
Client OS: Windows Pro 2000 SP4
Web Browser: IE6 SP1
Categories: Installation, Deployment

-- AndrewRobinson - 19 Apr 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

update - I copied the setlib.cfg to my c:\perl\lib folder and I can now access the view.pl via my browser... now just need to sort out which setting is not setup properly.

-- AndrewRobinson - 19 Apr 2006

update2 - after copying setlib.cfg to the perl\lib folder and changing the shebangs in the bin\* files, the view and edit functions are working. I'm having problems with register.pl though. It seems to be failing on a required file... probably a path problem but I'm unsure how to get it to throw a decent error message out. Found some code to do with invoking perl Carp module and it says something about error in required file at register.pm line 1186... hmmm. The register process works as far as sending the email and creating the WikiName.XXXXX file for approval. I wish I knew how to pass parameters to the register.pl from the command line so I could at least check the functionality under a standard user account. anyone? anyone? bueller?

-- AndrewRobinson - 20 Apr 2006

All TWiki CGI scripts accept parameters from the command line as name=value pairs. For example, to pass a web, topic, and revision number to the view script, use "perl view web=Sandbox topic=TestTopic1 rev=1"

-- CrawfordCurrie - 20 Apr 2006

 
Topic revision: r4 - 2006-06-01 - PeterThoeny
 
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.