[Tutor] mod_python.publisher

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Sat Sep 3 00:07:55 CEST 2005

On Fri, 2 Sep 2005, Scott Oertel wrote:

> Scott Oertel wrote:
> > I'm having an issue with mod_python.publisher,
> >
> > supposedly i should be able to just place this code
> >
> > def index():
> >    return "This is only a test."
> >
> > into test.py and when placed into my browser it should run the index
> > function by default, but instead i get a 404 error.

Hi Scott,

The question you're asking is pretty specific to mod_python; you may get
better help by asking the mod_python mailing list.


We on Tutor don't have special expertise on mod_python, and you may be
better served by asking the mod_python folks for help.

Anyway, take a closer look at:


Their example functions all take a request object.  Are you sure you don't
need to include the request as an argument of the default index handler?

More information about the Tutor mailing list