SID-01837: running twiki under cgi not cgid
| Status: |
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
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.