Graham Dumpleton
grahamd at dscpl.com.au
Tue May 24 17:00:44 EDT 2005
As pointed out by others don't use "test.py". Further, don't use "Location" directive, use the "Directory" directive instead, like the referenced article says to use. Using "Location" can introduce other issues and should be avoided if you are new to mod_python. Graham On 24/05/2005, at 11:34 PM, Fabiano Sidler wrote: > Thank you for answering that quickly! > > Graham Dumpleton wrote: >> Read: >> http://www.dscpl.com.au/projects/vampire/articles/modpython-001.html >> "PythonRequestHandler" doesn't work because it isn't a valid directive >> name. > > Sorry, but doesn't work here: > > <Location /py> > AddHandler python-program .py > PythonHandler test > PythonDebug On > </Location> > > [Tue May 24 14:53:47 2005] [notice] mod_python: (Re)importing > module 'test' > > Meanwhile, httpd does start without any errors, but when try stopping > or > restarting it, I got the following message: > > Invalid command 'PythonHandler', perhaps mis-spelled or defined by > a module > not included in the server configuration > > Strange, isn't it? > > Greetings, > Fips > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python
|