LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   CGI/Perl/Python (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=22)
-   -   Movable Type and FastCGI? (http://www.litespeedtech.com/support/forum/showthread.php?t=1927)

robls 03-29-2008 03:52 PM

Movable Type and FastCGI?
 
Movable Type's documentation (see here) explains how to set up MT with mod_fastcgi, but being a newbie to FastCGI I'm having a hard time getting it to work with Litespeed. Can someone take a look at the documentation and point me in the right direction for setting up an external FastCGI app to work with MT? For example, I don't know what to put in the "command" part.

Thanks for any help!

Zazzle 01-02-2010 05:09 PM

I know this is an old thread, but I have the same problem.

I've tried adding an .htaccess file inside my cgi-bin directory (where Movable Type is) like this:
Code:

AddHandler fastcgi-script .fcgi
This does not work.

Test Script:

Code:

#!/usr/bin/perl
# Hello World Script
# Filename: hello.cgi, or hello.fcgi
print "Content-type: text/html\n\n";
print "Hello world.";

Test Output: (ex. mydomain.com/cgi-bin/helloworld.fcgi )
Code:

lscgid: execve():/path/to/mydomain.com/cgi-bin/helloworld.fcgi.fcgi: No such file or directory
My host said LiteSpeed supports FastCGI, how do I get it to work with Movable Type?

mistwang 01-05-2010 12:59 PM

You need to ask your host to manually add a FastCGI application for each of your FCGI application in LiteSpeed web console, then add a script handler for you. like
your hello app is called "hello_fcgi", the script handler suffix is "hello_fcgi".
Then you use directive.

<Files hello.fcgi>
ForceType application/x-httpd-hello_fcgi
</Files>

You need to do the same for each FCGI application.


All times are GMT -7. The time now is 04:59 AM.