in reply to get CGI::Session working

If you got a 500 Internal Error, there should be an error in the web server error log. Check there to see what specifically happened.

My off-hand guess is that the web server does not have the permissions to run the script as an executable.