Log inRegister

0 CGI vs FastCGI

see: https://foswiki.org/Support/NatskinCopyTopicResultsIn500Error

"Okay, I can see now that the copy cgi script is broken. I never noticed before as I am not using plain old cgi. Most people neither probably as you are strongly encouraged to use fastcgi."

But apparently, on shared hosting, there is no FastCGI…

1 Rewriteshebang 1st trial

boossy:~/workspace/tools $ perl rewriteshebang.pl
Content-type: text/plain

** ERROR ****
The following critical dependencies are missing from your installation:
… CGI::Session: Can't locate CGI/Session.pm in @INC
… Crypt::PasswdMD5: Can't locate Crypt/PasswdMD5.pm in @INC
… File::Copy::Recursive: Can't locate File/Copy/Recursive.pm in @INC

Please install these modules and then ensure all dependencies are installed by either:
- viewing the PerlDependencyReport in your local Foswki, or
- running the CLI shell script tools/dependencies from your server's command line.
You can get a complete list of Perl module dependencies by viewing SystemRequirements
on your local system or at http://foswiki.org/System/SystemRequirements.

Foswiki will not operate correctly unless the required dependencies are installed.

Your current library search path @INC contains:

/home/ubuntu/workspace/lib
/home/ubuntu/workspace/tools/../bin
/etc/perl
/usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.18
/usr/share/perl/5.18
/usr/local/lib/site_perl
.
/home/ubuntu/workspace/lib/CPAN/lib

You can adjust the search path by editing bin/LocalLib.cfg

2 Rewriteshebang 2nd trial

boossy:~/workspace/tools $ perl rewriteshebang.pl
Content-type: text/plain

** ERROR ****
The following critical dependencies are missing from your installation:
… CGI::Session: Can't locate CGI/Session/ErrorHandler.pm in @INC
… File::Copy::Recursive: Can't locate File/Copy/Recursive.pm in @INC

Please install these modules and then ensure all dependencies are installed by either:
- viewing the PerlDependencyReport in your local Foswki, or
- running the CLI shell script tools/dependencies from your server's command line.
You can get a complete list of Perl module dependencies by viewing SystemRequirements
on your local system or at http://foswiki.org/System/SystemRequirements.

Foswiki will not operate correctly unless the required dependencies are installed.

Your current library search path @INC contains:

/home/ubuntu/workspace/lib
/home/ubuntu/workspace/tools/../bin
/etc/perl
/usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.18
/usr/share/perl/5.18
/usr/local/lib/site_perl
.
/home/ubuntu/workspace/lib/CPAN/lib

You can adjust the search path by editing bin/LocalLib.cfg
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This page was cached on 30 Sep 2021 - 04:05.