FastCGI test?

Just moved to a 1and1 managed server in which FastCGI is enabled.

But I’m having problems getting Movable Type to run under fastcgi - which has never been a problem before, even on shared hosts.

Is there a ‘hello world’-type test for fastcgi - so I can check if it is enabled?

I found one test script code from Google. Below is the test code:


use FCGI;
$cnt = 0;

while (FCGI::accept() >= 0)
print ("Content-type: text/html\r
print (”<head>
<title>FastCGI Demo Page (perl)</title>
print (”<h1>FastCGI Demo Page (perl)</h1>
print ("This is coming from a FastCGI server.
print ("Running on <EM>$ENV{USER}</EM> to <EM>$ENV{REMOTE_HOST}</EM>
print ("This is connection number $cnt

Reference URL:



I’d seen and tried that before - but had problems.

Adding to the .htaccess seems to fix things:

AddHandler fastcgi-script .fcgi .cgi
Options +FollowSymLinks +ExecCGI