FCGI woes yield SCGI plugin

Posted by trevor Thu, 17 Nov 2005 05:01:00 GMT

FCGI hates me. It’s been hating me for quite a few days now. I finally took then hint, installed scgi_rails and everything works great.

Well, it’s not quite that simple. One issue I (and others, it would seem) had with Apache mod_scgi is that if you SCGIMount to ’/’ then you don’t get page caching – something that makes Typo hum along rather nicely.

A quick hack or two later and I have an easy-to-use plugin that makes page-caching possible with scgi.

The subversion repository for the plugin is here:

http://opensvn.csie.org/protocool/trunk/plugins/scgi_bin/

Everything you need to know is in the README file. If you’re going to use it with Typo you’ll need to pay special attention to the last section of the README file.

Update

I should point out that the page cache issue only seemed to affect me with Apache 2. Now I’m starting to wonder if there’s a bug in the Apache 2 mod_scgi.

Posted in code