[mod_python] default function?

Michael mogmios at mlug.missouri.edu
Sat Feb 21 00:35:02 EST 2004


If I try doing http://mysite.com/mycode.py I get a 404 error. If I do 
http://mysite.com/mycode.py/ I get an error 'Mod_python error: 
"PythonHandler mod_python.publisher"'. http://mysite.com/mycode.py/index 
works as expected. Any idea what I'm doing wrong?

> If you call mycode.py the function mycode.py/index is called, if you 
> implemented it in mycode.py.
> However, I am not so experienced to know whether you can change the 
> name of this default function.



More information about the Mod_python mailing list