CGI + Web + File path Support

CGI Support:
The following is the only current support that we offer for CGI scripts. Listed below are the file paths for various resources that some CGI scripts require.
*Note: All CGI Scripts MUST be placed in your Cgi-Bin folder. The path can be found below.
Paths:
Path to CGI-Bin /home/yourusername/public_html/cgi-bin/
Path to Sendmail /var/qmail/bin/sendmail
Path to Domain /home/yourusername/public_html/
Path to SSI /ssi/
*Note: SSI is an option we can enable on your account upon request. You will need to create the "ssi" folder in your Public_html folder yourself.
Path to Java: /usr/local/linux-jdk1.3.1
Path to Perl: /usr/bin/perl
/usr/bin/perl5
/usr/bin/perl5.005003

CGI Troubleshooting:
Here are the solutions to some of the more common CGI script problems, in question and answer format.

Question: When I try to run my CGI Script I get back a page that says "Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request."
Answer: This is generally caused by a problem within the script. You should first make sure you have uploaded your script in ASCII mode and not binary. After this, double check all paths in the script itself to make sure they are correct. If you continue to receive this error make sure all files are chmoded properly. Most CGI scripts come with read me files which can also be helpful in these situations.
Also, if you have any sub folders inside your cg-bin make sure you chmod them to 711
And Make sure the cgi files are chmoded to 755

Question: I am being getting a "File Not Found," or "No Such File or Directory." error.
Answer: Upload your Perl or CGI script in ASCII mode, not binary mode.

Question: It's saying I don't have permission to access
IMPORTANT: CGI scripts MUST be uploaded/downloaded in ASCII format. They must also be saved in ASCII (text or .txt) format. This is VERY important. Failure to follow these guidelines will result in an inoperable program.

Question: Where can I find CGI scripts for my website?
Answer: You can find a various array of CGI Scripts (Both free & pay scripts) at Http://www.cgi-resources.net.
 

 

     Copyright ©2011 CJ Digital Design.com