[Catalyst] Multiple FastCGI app servers with Apache2
Tobias Kremer
list at funkreich.de
Fri Aug 3 08:59:14 GMT 2007
> Tobias Kremer wrote:
> > Does anyone know if it's possible to distribute requests to multiple
> external
> > FastCGI servers with Apache2 + mod_fastcgi similar to the round-robin
> > load-balancing approach lighttpd provides?
>
> This is possible (as I have done the same) by adding multiple instances of:
> > FastCgiExternalServer /path/to/MyApp/script/myapp_fastcgi.pl -host
> 127.0.0.1:55901
> > to the apache2 config file. Also make sure you use different ports or
> sockets.
I already tried that and it gives me:
FastCgiExternalServer: redefinition of previously defined
class "/srv/myapp.fcgi".
I'm using mod_fastcgi-SNAP-0404142202 with Apache 2.0.59 both compiled
from source.
--Tobias
More information about the Catalyst
mailing list