| Damjan Georgievski (JIRA) 2006-06-12, 1:12 am |
| [ http://issues.apache.org/jira/brows...action_12415819 ]
Damjan Georgievski commented on MODPYTHON-74:
---------------------------------------------
I vote for this feature to be added in mod_python.
I know some of the mod_python developers don't quite like WSGI but consider that today there are not much exlusively mod_python applications (and some people need/want to use web servers other than Apache).
This means that, current applications can't depend on mod_python features, but most often they don't even need the special mod_python features.
Current applications also implement special glue code to use the app with mod_python, scgi, cgi etc.. In the future, applications developers would want to avoid that, and you can see that almost all of the new web-app development is based on WSGI. You can
even run Zope in a WSGI server (I wonder if anyone tried to do it in mod_python/WSGI).
Including modpython_gateway (possibly as mod_python.wsgi) in the mod_python distribution will make mod_python an easy choice for serving WSGI applications without the need to hunt down mod_python WSGI implementations.
Also I'd suggest that some features are implemented in modpython_gateway:
- sendfile support (http://www.python.org/dev/peps/pep-...c-file-handling)
- more robust PATH_INFO and SCRIPT_NAME detection, possibly without the "PythonOption SCRIPT_NAME" hack.... well, I think this might not be possible but it would be great if is.
> Add a WSGI handler to support WSGI-based frameworks
> ---------------------------------------------------
>
> Key: MODPYTHON-74
> URL: http://issues.apache.org/jira/browse/MODPYTHON-74
> Project: mod_python
> Type: New Feature
> Components: core
> Reporter: Nicolas Lehuen
> Priority: Minor
> Fix For: 3.3
>
> There is a complete implementation here :
> http://www.amorhq.net/blogs/index.p..._for_mod_python
|