Apache+FastCGI Timeout Problem
- by Sadjad Fouladi
Hi all.
I've recently installed mod_fastcgi and Apache 2.2.
I've a simple cgi script as below (test.fcgi):
#!/bin/sh
echo sadjad
But when I invoke "mysite.com/test.fcgi" I see "Internal Server Error" message after a short period of time.
The error.log file shows this error message:
[Tue Jan 31 22:23:57 2006] [warn] FastCGI: (dynamic) server "~/public_html/oaduluth/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
This is my .htaccess file:
AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ django.fcgi/$1 [QSA,L]
I'm very confused, please help me!
[Sorry for my poor English!]