Question
Loaded, running, but get following error when execute view (or other with -T in shebang line). Any ideas?
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
"-T" is on the #! line, it must also be used on the command line at C:\twiki\bin\view.pl line 1.
Environment
--
JackPond - 01 Jun 2006
Answer
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.
This is related to your web server setup, i.e. how it forks the perl executables. I am not familiar with IIS, so I can point to any specifics, but google has some suggestions on the issue:
http://www.google.com/search?q=%22it+must+also+be+used+on+the+command+line%22
.
--
SteffenPoulsen - 23 Jun 2006
Am new to perl but twiki instalation on win XPsp2 +iis brought me here
see url
http://support.activestate.com/forum-topic/using-perl-taint-mode-in
so what u do is remove #!/usr/bin/perl -wT and replace with #!C:/Perl/bin/perl -w in the .pl files
or
[note "T" missing]
Control pannel->administartive tools->IIS --> select site right click and click on properties-->virtual Directory tab-->configuration button... edit
".pl" extensions executable as #!C:/Perl/bin/perl -T "%s" %s
--
SibiJoseph - 28 Feb 2007
pardon me for the post above use this
Am new to perl but twiki instalation on win XPsp2 +iis brought me here
see url
http://support.activestate.com/forum-topic/using-perl-taint-mode-in
so what u do is remove #!/usr/bin/perl -wT and replace with #!C:/Perl/bin/perl -w in the .pl files
[note "T" has been removed]
or
goto Control pannel->administrative tools->IIS --> select site right click and click on properties-->virtual Directory tab-->configuration button... edit
".pl" extensions executable as C:/Perl/bin/perl -T "%s" %s
--
SibiJoseph - 28 Feb 2007
hi
dont do the IIS change i mentioned.. it shows error in while runnign
http://,y-ip/bin/configure.pl
--
SibiJoseph - 28 Feb 2007
when not using -T optuion beware
http://gunther.web66.com/FAQS/taintmode.html
--
SibiJoseph - 28 Feb 2007
Having the same issue... removing -t did not work, but using debug value of -d view produced the following result. I am going to research options related to the following debug info...
Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. Can't locate setlib.cfg in
@INC
(
@INC
contains: . C:/Perl/site/lib C:/Perl/lib .) at
C:\Intranet\TWiki\bin\view.pl line 27. at C:\Intranet\TWiki\bin\view.pl line 27 main::BEGIN() called at setlib.cfg line 28 eval {...} called at setlib.cfg line 28 BEGIN failed--compilation aborted at C:\Intranet\TWiki\bin\view.pl line 28. at C:\Intranet\TWiki\bin\view.pl line 28
--
ChadBalser - 28 Feb 2007
Can't locate setlib.cfg in @INC
.... This looks more like a Perl lib path issue.
--
PeterThoeny - 28 Feb 2007
i think u should run confiure.pl and correct the paths from C:\Intranet\TWiki\ to the other slash C:/Intranet/TWiki/.
BTW which version of active perl do u use?. I used the
ActivePerl-5.8.8.820-MSWin32-x86-274739.msi but it shows
"
Software error:
Malformed multipart POST
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
[Thu Mar 1 14:25:29 2007] configure.pl: Malformed multipart POST "
--
SibiJoseph - 01 Mar 2007
I have started a new posting fot the Malformed mutipart POST at
SoftwareErrorMalformedMultipartPost
BTW i removed the -T from code in /bin folder as a temporary solution. Still looking for a permanant solution. especially after i read the url
http://gunther.web66.com/FAQS/taintmode.html
--
SibiJoseph - 01 Mar 2007