我有相同的cgi-bin文件夹2个CGI文件。一个复杂的300hundread行脚本工作正常,但是当涉及到这个简单的CGI脚本:复杂的CGI脚本工作,但test.cgi不
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
print "<html><head>";
print "<title>CGI Test</title>";
print "</head>";
print "<body><h1>I just wrote a web page using Perl!</h1>";
print "</body></html>";
网页将返回500内部服务器错误...
为什么:(
?编辑: 好吧,问题在一台服务器上解决,cgi工作正常。但...
现在我试图使cgi脚本在另一台服务器上工作,似乎无论我我是否继续收到“内部服务器错误”消息并没有在错误日志中。 有什么建议吗?
已成立0644权限,似乎工作,它需要是“0755”。 :d – Cristy 2011-02-19 15:17:00