[mod_python] Using publisher handler to generate directory index - how to do it in right and easy way ?

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Mar 24 10:51:22 EST 2003


On Mon, 24 Mar 2003, Mateusz Korniak wrote:

> When user requestes 'www.host.com/handler/foo' it works well.
>
> How to make handler.index(req) be handler of user requestes 'www.host.com' ?

You can use a DirectoryIndex directive to point to a mod_python script.

Grisha




More information about the Mod_python mailing list