Wednesday, October 24, 2012

Re: Puzzled about WSGI vs. FastCGI

Correct. I've found proxying to an HTTP WSGI server to be eaisier as you don't need to configure passing of FastCGI params. I use Gunicorn with nginx, and it requires very little all around configuration. I would expect Gunicorn with lighttpd to be similar.

_Nik

On 10/24/2012 3:11 PM, Fred wrote:
Thanks guys for the infos. It makes a lot more sense now.

So it looks like Lighttpd does not support the equivalent of mod_wsgi, so requires a second server that speaks either FastCGI or HTTP/WSGI.

On Wednesday, October 24, 2012 5:58:21 PM UTC+2, Fred wrote:
Hello

I'm trying to find how to install Python on a Lighttpd server that currently runs PHP scripts.

Although WSGI is the preferred deployment platform for Django, many people use shared hosting, on which protocols such as FastCGI, SCGI or AJP are the only viable options.

I'm puzzled, because I seemed to understand that WSGI is an API that relies on a lower-level transport solution like FastCGI, SCGI, or AJP.

Could it be that the article actually opposed mod_wsgi, which can run within Apache à la mod_php *?

And if someone knows of a good way to run Python through FastCGI (with or without WSGI) on Lighttpd, I'm interested: "Python FastCGI on lighty with flup" at the very bottom only seems to run a specific script.

Thank you.

* altough it can also run in its own process, just like FastCGI 
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/n62KPozSRhcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment