[mod_python] a problem about mod_python.publisher

GNULife gnulife at gmail.com
Sat Jun 25 10:03:58 EDT 2005


I use mod_python.publisher,my apache's setting as is:

DirectoryIndex index.html index.html.var index.htm index.php index.py

<Directory E:/Program/website>
SetHandler mod_python
PythonHandler mod_python.publisher
PythonDebug On
</Directory>

And I create a file named: E:\Program\website\index.py

import os

def main():
return "Hello"

Now I can get "Hello" from http://localhost/main , but I want to get
"Hello" from http://localhost/ ,how to do it?


More information about the Mod_python mailing list