[mod_python] mod_python problem

Jorey Bump list at joreybump.com
Tue Nov 2 19:06:11 EST 2004


Mark Eret wrote:


> Quick question, is there a way for http://lambdacalcul.us/test/test.py 
> (without the method name on the end) to return a webpage?  

Not with Publisher. But you can write your own handler. Now that you 
know mod_python is working, you can try to get the mptest.py example to 
work again and start from there.

Personally, I find that Publisher does almost everything I need. 
Combined with mod_negotiation, you can turn on MultiViews and access 
your test function like this:

  http://lambdacalcul.us/test/test/hello

which is the same as:

  http://lambdacalcul.us/test/test.py/hello




More information about the Mod_python mailing list