Код скрипта
#!/usr/bin/python
print "Content-Type=\"text/html; charset=utf-8\""
print "<html><body>Hello, FastCGIWORLD!</body></html>"
[Wed Jan 04 23:08:29 2012] [error] [client 127.0.0.1] FastCGI: comm with (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" aborted: (first read) idle timeout (30 sec)
[Wed Jan 04 23:08:29 2012] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi-bin/HelloFastCGIWorld.py"
[Wed Jan 04 23:08:33 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" restarted (pid 6750)
Content-Type="text/html; charset=utf-8"
<html><body>Hello, FastCGIWORLD!</body></html>
[Wed Jan 04 23:08:08 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" (pid 6731) terminated by calling exit with status '0'
[Wed Jan 04 23:08:13 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" restarted (pid 6732)
Content-Type="text/html; charset=utf-8"
<html><body>Hello, FastCGIWORLD!</body></html>
[Wed Jan 04 23:08:13 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" (pid 6732) terminated by calling exit with status '0'
[Wed Jan 04 23:08:18 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" restarted (pid 6733)
Content-Type="text/html; charset=utf-8"
<html><body>Hello, FastCGIWORLD!</body></html>
[Wed Jan 04 23:08:18 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" (pid 6733) terminated by calling exit with status '0'
[Wed Jan 04 23:08:23 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" restarted (pid 6747)
Content-Type="text/html; charset=utf-8"
<html><body>Hello, FastCGIWORLD!</body></html>
[Wed Jan 04 23:08:23 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" (pid 6747) terminated by calling exit with status '0'
[Wed Jan 04 23:08:28 2012] [warn] FastCGI: (dynamic) server "/var/www/fcgi-bin/HelloFastCGIWorld.py" restarted (pid 6748)
Content-Type="text/html; charset=utf-8"
<html><body>Hello, FastCGIWORLD!</body></html>
mod_fastcgi logs FastCGI application error (stderr) output to the server log associated with the request. Errors reported by the FastCGI process manager, fcgi-pm, are reported to the main server log (typically, logs/error_log). Data written to stdout or stderr before entering the FastCGI accept loop or via a mechanism that is not FastCGI protocol aware will also be directed to the main server log. If Apache's LogLevel is set to info additional informational messages are printed to the logs, these messages may be especially helpful while debugging a configuration.что такое FastCGI accept loop? как выглядит питоновский FastCGI-совместимый скрипт?
и да, wsgi не предлагайте пожалуйста, ведь, как я это понимаю: wsgi - только питоновская штука, а FastCGI - целый протокол, по которому сервер умеет общаться с программами на разных языках.