请教一个perl & apache问题。[已结贴]

请教一个perl & apache问题。[已结贴]

问题:运行http://localhost/test.pl显示403错误,但是解析.php没问题。
test.pl
#!d:/server/perl/bin/perl.exe
print "hello,perl!";

====================
activeperl安装位置:d:/server/perl
php安装位置:d:/server/php
apache安装位置:d:/server/apache2
=========================
http.conf:

DocumentRoot "d:/server/www/"

ScriptAlias /cgi-bin/ "d:/server/apache2/cgi-bin/"
<Directory "D:/server/apache2/cgi-bin/">
    AllowOverride All
    Options All
    Order allow,deny
    Allow from all
</Directory>
AddHandler cgi-script .cgi .pl

似乎要打印 http-content这样的头。
http://localhost/cgi-bin/test.pl
非常感谢楼上两位。OK了!