apache+ python ?

Gerhard Häring gerhard.haering at gmx.de
Wed Oct 9 00:11:56 EDT 2002


eugene kim wrote in comp.lang.python:
> thank you for quick answer..
> 
> well what i'll be doing is 
> db access, file uploading, xml generate/parsing

I'd definitely go for a persistent AppServer here, as it's quite
costly to repeatedly import the XML modules and open database
connections.

I've made good experiences with the WebWare application server
(http://webware.sf.net/). It can be connected to Apache using
mod_webkit (a WebWare specific adapter), mod_python and several CGI
solutions.

> speed doesn't matter .. but if using mod_python is not too much
> complicated,(it all depends how fast i can learn & use.. well that's
> the purpose of using python, isn't it?) i want to try it.

mod_python is great, but doesn't give you a web development framework
(with session management, authentication, etc.) yet. You'll have to
find add-ons for mod_python for these purposes (or write it yourself).
A web application framework will offer these features (and more, like
templating) to you.

> i think i 've succeeded installing mod_python..
> i have question though, maybe i have to ask this to apache forum,
> what's 'PythonHandler' in httpd.conf?

The best place to ask this kind of questions is the mod_python mailing
list.

-- Gerhard



More information about the Python-list mailing list