当使用 Apache 做为服务器,使用 cgi 程序接收来自 web 端的访问时,出现以下错误:web
The server encountered an internal error or misconfiguration and was unable to complete your request.服务器
Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.this
More information about this error may be available in the server error log.debug
debug 了很久,最后发现是本身的 cgi 程序——generate_license 没有可执行权限。这就很尴尬了,使用命令 chmod +x generate_license 便可解决。orm