Hi,
This is more for people who are wondering about why they are getting the "500 Internal Server Error".
On my linux box the cgi-bin is above the root directory etc....
The permissions for the file and the directory that the file is in need to be 755. You also need to make sure that you do not have any MSDOS carriage returns in the file.
Again this might sound like I didn't read the message... it for those that are searching the forum.