Пытаюсь настроить fast-cgi в связке с апачем и перлом. Настраиваю по [url="http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html"&#... . При обращению к скрипту ничего кроме 503 ошибки не получаю.Скрипт:
#!/usr/bin/perl
use CGI::Fast;
my $test=0;
while (my $q = CGI::Fast->new) {
print("Content-Type: text/plain\n\n");
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}$test++;
print $test;
}
Конфиг:
<Directory /home/*/public_html>
AllowOverride All
<FilesMatch "\.fpl$">
SetHandler fcgid-script
Options +ExecCGI
Order allow,deny
Allow from all
</FilesMatch>
</Directory>
в чем может быть косяк?