I have been using XamppLite with php for a while now and everything has been working fine. I am a noob at cgi though.
Recently, I was trying to install a script called cgiproxy.
Website - http://www.jmarshall.com/tools/cgiproxy/
Script source - http://www.jmarshall.com/tools/cgiproxy/nph-proxy.cgi.txt
I know perl is working because the perltest.cgi that came preinstalled in cgi-bin works.
I saved the nph-proxy.cgi in the cgi-bin folder and tried running it. At first I was getting an error:
- Code: Select all
Error message:
couldn't create child process: 720003: nph-proxy.cgi
I soon found out that was because of the first line
- Code: Select all
#!/usr/local/bin/perl
which I changed to...
#!"\xampp\perl\bin\perl.exe"
Thats the only edit I made. Now there is no error message at all...Only a blank screen. I will point out that this is an nph-type cgi which I read should work fine in apache with the filename beginning with nph-...which it is [nph-proxy.cgi].
However, maybe there is some setting in apache or the script itself that needs to be set for nph files. That's why I'm here. Is anyone familiar with the cgiproxy script or experienced with cgi and could get this working?
Please help me here.
Regards
Tom.