sorry for not being clear. actually the page local.cgi shows up the page initially. cgi is working since a hello world program runs fine when viewed on the web. The script 500 error shows up when i hit the go button( submit button in a form on the local.cgi page) the form goes to the local.cgi page itself on submition, since i have specified form action as "". why is this error coming?