Hi there,
I'm trying to get actinic v8 working on a redhat server, but everythings falling over when it comes to getting the CGI scripts to work.
It looks like the scripts are being uploaded in DOS text mode - i.e, CR LF at the end of each line, and this is preventing the scripts from executing (I can get a hello world perl script to run myself, both from the command line and locally).
Attempting to execute any of actinics scripts directly on the server , e.g
./ts000001.pl
results in the output :
: bad interpreter: No such file or directory
And attempting to access the file via http results in an 'internal server error' page.
The path to perl is exactly the same in my test script as the actinic scripts.
Files created in the cgi-bin are executable with permissions set to -rwxr-xr-x
Any suggestions?
Cheers,
Chris
I'm trying to get actinic v8 working on a redhat server, but everythings falling over when it comes to getting the CGI scripts to work.
It looks like the scripts are being uploaded in DOS text mode - i.e, CR LF at the end of each line, and this is preventing the scripts from executing (I can get a hello world perl script to run myself, both from the command line and locally).
Attempting to execute any of actinics scripts directly on the server , e.g
./ts000001.pl
results in the output :
: bad interpreter: No such file or directory
And attempting to access the file via http results in an 'internal server error' page.
The path to perl is exactly the same in my test script as the actinic scripts.
Files created in the cgi-bin are executable with permissions set to -rwxr-xr-x
Any suggestions?
Cheers,
Chris
Comment