Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to try MovableType (and I do not want to install Apache).

I took a clean Ubuntu Server 9.10 instance, and did something along these lines:

$ sudo apt-get install mysql mysqlclient
$ sudo apt-get install movabletype
$ sudo apt-get install nginx

Now I see that I have to tell nginx to look at /usr/lib/cgi-bin/movabletype/.

But nginx does not support pure CGI scripts, and I've got a feeling that MovableType would want some custom configuration anyway.

I failed to find any good docs on how to pair MT with nginx. Are there any? A config file example would be perfect.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted
  1. Add additional fastcgi parameters in nginx config:

    fastcgi_param PERL5LIB $document_root/mt/lib;
    fastcgi_param MT_HOME $document_root/mt;
    fastcgi_param MT_CONFIG $document_root/mt/mt-config.cgi;

  2. Use CGI wrapper from http://nginx.localdomain.pl/wiki/FcgiWrap

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.