>Бейся дальше и жди телепатов, говорят они существуют. Ситуация такая: устанавливаю апатч 2.2.11 С сайта http://fastcgi.com/dist качаю dll'ку, и в httpd.conf добавляю модуль
LoadModule fastcgi_module modules/mod_fastcgi.dll
Далее пишу такое:
FastCgiIpcDir \\\\.\\pipe\\fast
И редактирую корень сайта для запуска обычных скриптов и фастовых
<Directory "C:/TestSite/">
Options Indexes FollowSymLinks +ExecCGI
AddHandler cgi-script .pl
AddHandler fastcgi-script .fpl .fcgi
#AddHandler fcgid-script .fcgi
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
Беру обычные проверенный пример приведенный в цпан:
#!C:\perl\bin\perl
use CGI::Fast qw(:standard);
$COUNTER = 0;
while (new CGI::Fast) {
print header(-charset=>'windows-1251');
print start_html("Fast CGI Rocks");
print
h1("Fast CGI Rocks"),
"Invocation number ",b($COUNTER++),
" PID ",b($$),".",
hr;
print end_html;
}
В результате Получаю ошибку 500 и такие записи в логе:
[Tue Mar 03 20:51:47 2009] [warn] FastCGI: (dynamic) server "C:/TestSite/fcg.fcgi" restarted (pid 3332)
[Tue Mar 03 20:51:47 2009] [error] [client 127.0.0.1] (OS 109)Канал был закрыт. : FastCGI: comm with server "C:/TestSite/fcg.fcgi" aborted: GetOverlappedResult() failed
[Tue Mar 03 20:51:47 2009] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "C:/TestSite/fcg.fcgi"
[Tue Mar 03 20:51:47 2009] [warn] FastCGI: (dynamic) server "C:/TestSite/fcg.fcgi" (pid 3332) terminated with exit with status '0'
[Tue Mar 03 20:51:47 2009] [error] [client 127.0.0.1] File does not exist: C:/TestSite/favicon.ico, referer: http://localhost:85/fcg.fcgi
[Tue Mar 03 20:51:52 2009] [warn] FastCGI: (dynamic) server "C:/TestSite/fcg.fcgi" restarted (pid 1720)
[Tue Mar 03 20:51:52 2009] [warn] FastCGI: (dynamic) server "C:/TestSite/fcg.fcgi" (pid 1720) terminated with exit with status '0'