Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 9 and Version 10 of ModPythonIntegration09


Ignore:
Timestamp:
02/27/06 13:36:14 (9 years ago)
Author:
edvardas@…
Comment:

wsgiref no longer needed, plus "PythonOption? import myapp_modpython

PythonFixupHandler? myapp.myapp_modpython".

Legend:

Unmodified
Added
Removed
Modified
  • ModPythonIntegration09

    v9 v10  
    99== Quick recipe == 
    1010 
    11  * Install wsigiref, {{{ sudo easy_install wsgiref }}} should get you going. 
    12  * Download Robert's [http://projects.amor.org/misc/svn/modpython_gateway.py script] and place it inside wsgiref's package. 
     11 * ~~Install wsigiref, {{{ sudo easy_install wsgiref }}} should get you going.~~ Since changeset [39] on Feb 9, 2006, modpython_gateway.py no longer depends upon wsgiref. 
     12 * Download Robert's [http://projects.amor.org/misc/svn/modpython_gateway.py script] and place it in site-packages, or somewhere else on your Python path.  
    1313 * You'll need to write a script to start your TG app as start-yourapp.py will '''not''' work. It should be something like: 
    1414 
     
    4848        SetHandler python-program 
    4949        PythonHandler wsgiref.modpython_gateway::handler 
    50         PythonOption application cherrypy._cpwsgi::wsgiApp 
    51         PythonOption import myapp_modpython 
     50        PythonOption wsgi.application cherrypy._cpwsgi::wsgiApp 
     51        # PythonOption import myapp_modpython 
     52        PythonFixupHandler myapp.myapp_modpython 
    5253 
    5354        # Switch it off when everything is working fine.