python cgi编程,web访问不了。

之前在/var/www/cgi-bin中编写的html,py,cgi文件通过web能访问,现在编写的就不能访问。
一直报错:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost 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.

编写的html 代码可以直接访问,代码:



File Editor



File name:




internal error,就是你的应用程序代码有问题,检查一下cgi代码的log等,看具体出错的地方