mod python confusion

David Fraser davidf at sjsoft.com
Tue Jun 1 04:55:58 EDT 2004


Ben Sizer wrote:
> 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
> 
> redirect
> 
>>>execution to separate places based on the URI, then I'd have to
> 
> disagree
> 
>>>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
> 
> like
> 
>>publisher
> 
> 
> mod_python.publisher is poorly documented (the 'explanation' in section
> 6.1.2.1 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?
Not sure, I don't use it myself, but if you're wanting more help you 
could try the mod_python users list. may have been a bad suggestion though.
> By the way, thanks for the 3.1.3 file. That seems to have installed
> fine now.
> 
Good, glad to hear it :-)

David



More information about the Python-list mailing list