06-12-06 06:12 AM
[ http://issues.apache.org/jira/brows...2415
819 ]
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 p
eople need/want to use web servers other than Apache).
This means that, current applications can't depend on mod_python features, b
ut most often they don't even need the special mod_python features.
Current applications also implement special glue code to use the app with mo
d_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 developmen
t is based on WSGI. You can
even run Zope in a WSGI server (I wonder if anyone tried to do it in mod_pyt
hon/WSGI).
Including modpython_gateway (possibly as mod_python.wsgi) in the mod_python
distribution will make mod_python an easy choice for serving WSGI applicatio
ns 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 "Pyt
honOption 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 :
> [url]http://www.amorhq.net/blogs/index.php/fumanchu/2005/08/11/wsgi_wrapper_for_mod_python[/u
rl]
[ Post a follow-up to this message ]
|