Okay I'll go through step by step what I've tried. In a nutshell I want to run speedyCGI since I'm on a shared server and do not have root access for mod_perl. The steps below are the exact ones I've tried (sorry to be so verbose):
That seems to create the proper files in the proper places, although I did get some stuff about some failed tests. However when I run a simple cgi script it bombs. Some tests indicate it bombs on the shebang.
#!/home/sites/site45/bin/speedy
print "Content-type: text/html\n\nHello World!\n";
# Create a SpeedyCGI object
use CGI::SpeedyCGI;
my $sp = CGI::SpeedyCGI->new;
# See if we are running under SpeedyCGI or not.
print "Running under speedy=", $sp->i_am_speedy ? 'yes' : 'no', "\n";
Any ideas about what I'm doing wrong?
- gunzip CGI-SpeedyCGI-2.11.tar.gz
- tar -xvf CGI-SpeedyCGI-2.11.tar
- cd CGI-SpeedyCGI-2.11
- perl Makefile.PL PREFIX=/home/sites/site45
- make
- make test
- make install
That seems to create the proper files in the proper places, although I did get some stuff about some failed tests. However when I run a simple cgi script it bombs. Some tests indicate it bombs on the shebang.
Code:
#!/home/sites/site45/bin/speedy
print "Content-type: text/html\n\nHello World!\n";
# Create a SpeedyCGI object
use CGI::SpeedyCGI;
my $sp = CGI::SpeedyCGI->new;
# See if we are running under SpeedyCGI or not.
print "Running under speedy=", $sp->i_am_speedy ? 'yes' : 'no', "\n";
Any ideas about what I'm doing wrong?