windows apache 支持 cgi

cgi程序 以前在 iis 下正常工作,换成phpstudy 环境,apache,cgi程序提示
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, 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.
折腾半天,没搞好,百度搜 “windows apache cgi”,找到 http://koda.iteye.com/blog/556393
原来windows下 cgi程序 要能在 apache 下运行,需要修改cgi程序文件的第一行 为 你的perl.exe 的路径: #!c:/Perl/bin/perl.exe
原创文章如转载,请注明:转载自 IT生活 [ http://www.djx1981.com/ ]
本文链接地址:http://www.djx1981.com/archives/452.html