> WSGI is a script that connects Django to
> Apache.
not really
WSGI is just a standard, a document that says "the web server will
call the app as a function with such and such parameters, the app will
return such and such values with the response"
armed with that, any Python developer can write a web app just
following the 'app' part of the standard, and any web server that
wants to call those apps do the calls following the other part.
specifically, mod_wsgi is the apache plugin that launches a Python
interpreter and do all the calls according to the standard, and Django
is a framework that follows the WSGI standard.
besides, some WSGI-compliant servers need a little extra information
to specify exactly what web app to call, and in mod_wsgi case, it's
done with 'the wsgi file'. but this is specific to mod_wsgi, other
servers do that differently.
--
Javier
--
You received this message because you are subscribed to the Google Groups "Django users" group.
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