This is probably causing a problem: !#/usr/bin/python It should be "#!", not "!#".
If that doesnt' work, add this line at the top of your script, to check that the script is begin executed: print "Content-Type: text/html\n\n" print "Hello, World!" If you still get an Internal Server Error put the following before you import MySQLdb: import cgitb; cgitb.enable() Hope this helps, - Alex Ross -- http://mail.python.org/mailman/listinfo/python-list