Tags:
create new tag
view all tags

SID-01837: running twiki under cgi not cgid

Status: Answered Answered TWiki version: 6.0.0 Perl version: 5.18.1
Category: CategoryMissingFunctionality Server OS: Centos 6.4 Last update: 10 years ago

All,

Is there any way to make twiki run in cgi mode, rather than under cgid?

I know its slow, but I have a hack that I use to debug cgi files - I redirect the output to another tty via PERLDB_OPTS=TTY=....

This way I can trace through the cgi files as if I was running at the CLI. However this does not work with cgid, the output seems to be redirected to the

As it stands, I've been capturing and replaying via Data::Dumper, which is a fairly cumbersome process. I capture the request and put it to a file, and then thaw it - but this isn't complete (there are holes) and does not always work.

I know there is a CLI version of twiki as well, but this is cumbersome in a whole other way since it isn't obvious sometimes on how to translate a gui action into the appropriate CLI.

Any input on how to do this would be greatly appreciated.

Thanks much,

Ed

-- Ed Peschko - 2013-12-06

Discussion and Answer

I personally use Data::Dumper and direct print statements to STDERR and have a tail -f on the apache error log so that I can see the debug info on page view. And yes, it is a bit cumbersome.

TWikiDebugging is the main document, it is a bit outdated. As you learn please help brush up that document.

-- Peter Thoeny - 2013-12-07

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
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.
SupportForm
Status Answered
Title running twiki under cgi not cgid
SupportCategory CategoryMissingFunctionality
TWiki version 6.0.0
Server OS Centos 6.4
Web server apache-2.4
Perl version 5.18.1
Browser & version

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • 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.