Re: invoking external FastCGI for only certain extensions?
Alex Efros <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel,gmane.spam.detected |
|---|---|
| Organization | asdfGroup Inc., http://powerman.asdfGroup.com/ |
| Message-ID | <[email protected]> |
Hi! On Fri, Sep 28, 2007 at 10:38:42AM -0600, joe-QzMH92Wc/[email protected] wrote: > I'm running into a bit of a roadblock here... we want to invoke our > (external) fastcgi application only for certain file extensions, just > as we would do with CGIs. Hmm. Probably I misunderstand you, cos it's simple: /etc/apache2/modules.d/20_mod_fastcgi.conf: FastCgiExternalServer /myproject/my.fpl -socket /var/run/myproject.sock /myproject/.htaccess: Action fcgi /my.fpl # assuming /myproject/ is document root AddHandler fcgi .html Then run your FastCGI application, with any name ("my.fpl" isn't related to it name), and have it listen to /var/run/myproject.sock. -- WBR, Alex. ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/