Do I make the correct difference between spwan-cgi and mod_fcgi
Posted
by Saif Bechan
on Server Fault
See other posts from Server Fault
or by Saif Bechan
Published on 2010-03-29T04:43:02Z
Indexed on
2010/03/29
4:53 UTC
Read the original article
Hit count: 374
First of all im configuring an webserver with nginx and apache2 working together. Having only nginx is no options for me, neither is lighttdp.
I am reading a tutorial 'Nginx -Apache -Proxy configuration on Centos-Plesk server' where this is exaplained in some detail.
One thing i don't really understand. They are talking about installing spawn-fcgi to spawn the fastcgi process.
Now if i understand this correct this program is only for nginx apache will run as normal. Apache will just run the mod_php5.c. If i want to have apache also work as fastcgi i have to confirgure that seperately, and let apache use mod_fcgi.
Do I have this correct or am I talking utter nonsense.
Nginx usses spawn-cgi as frontend Apache usses mod_fcgi in the back Inbetween there is a proxy that ports port 80(nginx) to port 8080(apache)
© Server Fault or respective owner