I love Windows Live Writer. I use it now for all my blog editing. Recently though, after setting up my new SheevaPlug as my server and using lighttpd instead of apache as my webserver I found that I can’t use it. I got the following error trying to add my blog to my new install of WLW:
An error occurred while attempting to connect to your blog:
Invalid Server Response - The response to the blogger.getUsersBlogs method received from the blog server was invalid:
Invalid response document returned from XmlRpc server
You must correct this error before proceeding.</pre>
Doing some sleuthing, I found that this has to do with permissions on the xmlrpc.php file, which you can circumvent by adding the following code to your .htaccess file:
<Files xmlrpc.php> SecFilterInheritance Off </Files>
BUT, since lighttpd doesn’t use .htaccess, I’m kind of SOL. In fact, from my internet readings, lighttpd doesn’t really have anything like mod_security.
Things were looking grim, until I stumbled across this blog post from 2006. In it, the author mentions newlines before <? in php causing problems. Lo and behold, my xmlrpc.php had some newlines before the <?. After removing them I was able to add my blog to WLW, and I’m posting from it right now. I hope the issues I had with uploading photos isn’t still present, but we’ll see once I make my next photo-intensive post.