Here is how to find the version of a perl module that is installed on your server:
At the command line, type:
perl -MDBI -e ‘print “$DBI::VERSIONn”‘
replace DBI with the module you want. This should work for most modules.
Here is how to find the version of a perl module that is installed on your server:
At the command line, type:
perl -MDBI -e ‘print “$DBI::VERSIONn”‘
replace DBI with the module you want. This should work for most modules.
If you are trying to write a basic “hello world” type cgi but keep getting:
500 error response – Internal Server Error
Make sure the first line of output from your script is:
print “Content-type: text/htmlnn”;
All cgi’s (in any language) need to output a header line, followed by two newline characters (n) before any “regular” output is done from the script.
Also, check that you have made the script executable :
From the ssh command line, issue this command :
chmod u+x name_of_script here
or from inside most FTP programs:
1. click properties for the file and select “Change permissions” or “chmod”
The wording will vary from one FTP program to another.
Question:
Do you support suexec?
Answer:
Yes, all your cgi scripts (perl, etc.) automatically run as your own user via suexec.
You do not need to do anything further to turn on SUEXEC.