cgi script

Piet van Oostrum piet at
Sun Aug 2 20:31:07 CEST 2009

>>>>> golu <bhardwajjayesh7 at> (g) wrote:

>g> Hi,
>g> i started learning cgi few days ago in python and everything went
>g> fine  until i started getting the follwing error
>g> "
>g> The server encountered an internal error and was unable to complete
>g> your request. Either the server is overloaded or there was an error in
>g> a CGI script.

>g> If you think this is a server error, please contact the webmaster. "
>g>   i am using apache on xampp. plz help

Putting the following in your script might help as it will show the
exception trace in your browser (if it gets that far, that is).

import cgitb

Piet van Oostrum <piet at>
URL: [PGP 8DAE142BE17999C4]
Private email: piet at

More information about the Python-list mailing list