LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Movable Type and FastCGI?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2008, 03:52 PM
robls robls is offline
New Member
 
Join Date: Mar 2008
Posts: 1
Default 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!
Reply With Quote
  #2  
Old 01-02-2010, 05:09 PM
Zazzle Zazzle is offline
New Member
 
Join Date: Jan 2010
Posts: 1
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?
Reply With Quote
  #3  
Old 01-05-2010, 12:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:08 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.