My site is on Dreamhost. I've successfully setup the Calendar script in the past on another server, but for some reason absolutely cannot get it to work on the Dreamhost account:
This is the web error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@dem411.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I've tried running debug.pl from command line and in the browser. I get that error no matter which script I try in the browser, calendar.pl calendar_admin.pl and debug.pl. If the debug.pl worked I'm sure the others would too 
When I run debug on the command line I get:
debug.cgi: =: command not found
debug.cgi: $: command not found
debug.cgi: =1: command not found
debug.cgi: =: command not found
debug.cgi: line 16: syntax error near unexpected token `($QUERY_STRING'
debug.cgi: line 16: `unless ($QUERY_STRING =~ /success/) {'
This is what the apache error log says:
[Mon Oct 18 14:14:15 2004] [error] [client 64.0.88.34] Premature end of script headers: /home/newgain/dem411.org/newgain/trai
ning/calendar_admin.pl
[Mon Oct 18 14:14:15 2004] [error] [client 64.0.88.34] File does not exist: /home/newgain/dem411.org/internal_error.html
HELP!
I've changed the BASE_DIR manually, using the path that is shown with a pwd command, and I've left it commented out. Same result.
Krista