Re: mod_fastcgi catch all ?
Fabrice Bacchella <[email protected]> Fri, 10 Sep 2010 17:22:54 +0200
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Le 10 sept. 2010 à 16:43, Rénald Casagraude a écrit : > Hi, > > On 10 sept. 2010, at 16:33, Fabrice Bacchella wrote: > >> I'm very surprised how greedy fast_cgi is. > > […] > >> <VirtualHost *> >> DocumentRoot /myweb/htdocs > ^^^^^^^^^^^^^^ > >> FastCGIExternalServer /myweb/htdocs -host remotehost:9000 > ^^^^^^^^^^^^^ > >> </VirtualHost> >> >> And it's enough to have fastcgi sends all queries to remhost. Shouldn't an Action, AddHandler be needed ? > > Sure it is ! But it's not. fastcgi catch this directory altough I don't ask it do so. There is no Alias, CgiAlias or AddHandler in my configuration. Even not Options +ExecCGI. > > Just use a kind of virtual external server path, AddHandler to what you want to handle, and Alias to your virtual path.