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

Mateusz Korniak mateusz at ant.gliwice.pl
Mon Mar 24 13:23:34 EST 2003


Assume I have:
Defined for virtual host www.host.com  root direcotory <html_dir>/host/
I have <html_dir>/host/handler.py defined as Publisher Handler.

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' ?

TIA
-- 
Mateusz Korniak
easy.com  easy.go




More information about the Mod_python mailing list