anonymous255
anonymous255

Reputation: 108

what is the difference between wsgi, python_wsgi, wsgi server and mod_wsgi?

I am very confused in below terms, 1. wsgi 2. python_wsgi 3. wsgi server 4. mod_wsgi 5. python web server gateway interface(PEP3333)

what are these for? I know wsgi is just an interface or a specification between app and server but why these so many terms are used in docs. How I am gonna use this with apache? What is wsgi server for? This is pretty confusing. Some simple and detailed explaination would be helpful.

Thanks

Upvotes: 4

Views: 1689

Answers (1)

Ringil
Ringil

Reputation: 6537

WSGI stands for Web Server Gateway Interface

It describes the way a server such as Apache communicates with a python program (web application).

A WSGI server is a server that complies with the WSGI standard.

Mod_WSGI is an Apache module that supports the WSGI standard and thus allows Apache to be a WSGI server. It allows you to host python programs through Apache.

PEP3333 is where the technical aspects of WSGI standard are defined.

Upvotes: 2

Related Questions