[mod_python] One index.py for all subdirectories

Alexis Marrero-Narváez amarrero at mitre.org
Mon Dec 20 11:42:24 EST 2004


How can I setup Apache2, in such way that I only need one index.py for 
all subdirectories. For instance here is a directory structure:

I want the index.py in /persons to be used everytime the user access 
any URI under /persons. So if the user GET 
http://host.com/persons/john/daugthers/ apache handles the request by 
sending it to index.py inside /persons instead of trying to get 

Are there any tricks other than using mod_rewrite?


More information about the Mod_python mailing list