关于在Windows2000下使用CGI程序的问题!请各位高手帮忙!!!
我用的是Windows2000 Server安装了一个ActivePerl-5.6.1.633-MSWin32-x86.msi
然后在Internet服务管理器——〉默认Web站点属性——〉主目录选项卡——应用程序设置——〉配置——〉应用程序映射选项卡里添加了.cgi c:\perl\bin\perl.exe %s %s 和.pl c:\perl\bin\perl.exe %s %s,但是当我输入http://192.168.0.1/cgi-bin/index.cgi时,居然出现了“CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Hello, World...”而我输入http://192.168.0.1/cgi-bin/index.pl时出现“HTTP 403.1 禁止访问:禁止可执行访问”请问这是怎么回事啊!我的目录cgi-bin也设置成了可执行脚本和可执行文件。但是就是出现上面的这些问题啊!
我的cgi程序是
#!/usr/bin/perl
print "Hello, World...\n";
请各位高手帮忙啊!我现谢谢了。