python - mod_wsgi, mod_python, or just cgi? -


i've been playing around own webserver (apache+ubuntu) , python. i've seen there 3(?) main ways of doing this:

  1. apache configured handle .py cgi
  2. apache configured use mod_python outdated(?)
  3. apache configured use mod_wsgi

i recall reading django prefers mod_wsgi, , i'm kinda interested in learning django (i've heard official tutorial rather excellent).

what 'recommended' setup? presume there's no reason use mod_python anymore, differences between handling .py cgi, , mod_wsgi? possible run them in tandem (and want to?), or ridiculous idea , should stop thinking such crazy things?

i guess i'm looking primer on apache+python (links good) - nothing i've come across far has been terribly informative - how-to's.

mod_python dead, using mod_python isn't idea new projects. personally, prefer use mod_wsgi on cgi (or fastcgi). it's dead-simple set up, , more efficient.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -