Dataflame website hosting & internet services
UK
Dataflame website hosting & internet services

Knowledgebase

Portal HomeClient AreaAnnouncementsKnowledgebase

Please Login or Register  
You are here: Portal Home > Knowledgebase > I keep getting a 500 Internal Server Error. Why is this?

I keep getting a 500 Internal Server Error. Why is this?

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.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article



 
Dataflame website hosting & internet services
�1999-2009 Affordable UK Web Hosting. All Rights Reserved.
Registered in England and Wales 4575385
website design by :: dataflame.co.uk