非洲鸡翅木上当:Apache中执行Perl脚本的问题

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/17 06:38:04
在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?