in reply to Why do I keep getting a 500 Internal server error?
Read Appendix 1 of my CGI course (this appendix was written by tachyon). It contains a lot of information about getting CGI scripts working and has extra resource links at the bottom.