FastCGI as a Filter?

Garrett Wollman <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
<<On Sat, 24 Oct 2009 23:52:55 -0400, tbandrowsky <[email protected]> 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

-GAWollman
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.