[FASTCGI] FastCGI as a Filter?

Garrett Wollman wollman at csail.mit.edu
Mon Oct 26 11:53:04 EDT 2009

<<On Sat, 24 Oct 2009 23:52:55 -0400, tbandrowsky <tbandrowsky at treatyist.com> said:

> I'm trying to make heads or tales of whether or not Apache 2 supports
> FastCGI as a filter.  Basically, I want to have a bunch of files with a
> particular extension in a directory all get passed through to my FastCGI
> application rather than get spewed out directly.

That's pretty easy to accomplish, although I don't know about using
the filter mechanism for that.  Here's what we do for PHP:

ScriptAlias /.php5-cgi /usr/bin/php5-cgi
Action php5-script /.php5-cgi
Action application/x-httpd-fastphp5 /.php5-cgi

AddType application/x-httpd-fastphp5 php5


More information about the FastCGI-developers mailing list