mod python confusion

Ben Sizer kylotan at
Tue Jun 1 01:51:19 CEST 2004

David Fraser wrote:
> Kylotan wrote:
> >
> > I read somewhere today that
> > mod_python made Python as simple to use for web apps as PHP etc,
but if
> > this is any indication of the amount of code you need to simply
> > execution to separate places based on the URI, then I'd have to
> > with that!
> >
> Actually redirecting execution to separate places based on the URI is

> fairly easy in mod_python, I suspect you may want to use something
> publisher

mod_python.publisher is poorly documented (the 'explanation' in section of the manual is perhaps the most confusing attempt to explain
something in clear language that I've ever seen) and seems pretty
idiosyncratic, expecting you to return the page rather than write it
out piece by piece. In the absence of decent documentation I've tried
to experiment with it but couldn't find a consistent way of getting it
to call my pages, and often ended up with 404 errors in situations
where the tutorial led me to believe it would call a function. Is there
a more clear guide on how to use this?

By the way, thanks for the 3.1.3 file. That seems to have installed
fine now.

Ben Sizer

More information about the Python-list mailing list