Frequently Asked Hosting Questions


Why doesn't my CGI script work?

 
There are three main reasons that you get a HTTP 500 server error when running your CGI script.
 
1. The permissions are set to 644, it needs to be 755.  You can change the permissions by clicking on the 644 number on the right side of the page in the file manager.

2. The script gets uploaded in binary mode ... with FTP you gotta choose ASCII so it converts the windows newlines to UNIX.  You must upload the script with an FTP client (like WS_FTP or CuteFTP) and make sure that it is uploading through ASCII.
3. If it is printing some text, but before any other output for cgi scripts, you have to have:
print "Content-Type: text/htmlnn";


BUSINESS WEB HOSTING TERMS TO KNOW
# - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z