特朗普访华直播:Apache中执行Perl脚本的问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/08 14:17:16
在RH 9.0中架设Apache,执行自己设计的Perl脚本时网页结果为空?没有Internal Server Error的字样。这是我设计的Perl脚本,各位高手看看有没有问题:
#!/usr/bin/perl

print ("Content-type: text/html");
print ("This is the first CGI Program");

在httpd.conf中你有没有在AddHandler cgi-script .cgi .pl?