Andy Reitz (blog)

 

 

Problems with mt-xmlrpc.cgi under FastCGI with MovableType 4.01

A few weeks ago, I upgraded my install of MovableType from 3.something to 4.01. I did this primarily so that I could post from my iPhone via the iMT plugin (which I got working, but haven't posted from yet). Anyways, since upgrading, I have found that I could no longer post to my blog from MarsEdit. I also upgraded that to 2.0 recently, so I wasn't sure what the problem was.

I finally got some time today to debug this, and I found these errors in my httpd-error.log:

[Sat Oct 13 19:17:17 2007] [warn] FastCGI: (dynamic) server "xxx/cgi-bin/mt/mt-xmlrpc.fcgi" restarted (pid 29699)
Status: 405 Method Not Allowed

Pretty obscure error, don'tcha think? Google wasn't much help, but in digging around the MovableType forums, I found this thread which helped me out a lot. The gist of the problem is that the part of MovableType which allows web services clients to work with it, mt-xmlrpc.cgi doesn't work with FastCGI. I could have sworn that I had this working previously under MovableType 3.x, but it sure as heck doesn't work now. Reverting this file to use regular CGI instead of FastCGI appears to have fixed the problem.

-Andy.

Technorati Tags: ,