| There are many different possibilities. If you have a problem, misconfiguration, or syntax error in you script, you will probably be able to find it by checking your error_log. If you have error logging turned off, you might want to turn it back on until you have finished installing your CGI program. Another problem could be permissions of the file or directory. Your script permissions should be set to 755, or rwxr-xr-x. Do Not make your CGI scripts 777 (or rwxrwxrwx). This would make them editable by other customers on the same server. In fact, if your script contains password information to connect to a mySQL database, you should make them 700 (rwx------) so no one else would even be able to read them. The same thing applies to directories where the scripts reside.
|
Add to Favourites
Print this Article
|