Nick
nick at dd.revealed.net
Mon Dec 20 11:48:12 EST 2004
You could try using a wildcard in a Location directive. Nick Alexis Marrero-Narváez wrote: > All, > > 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: > /persons > /john > /daughters > /anna > /alicia > /mary > index.py > > 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 > /persons/john/daughters/index.py? > > Are there any tricks other than using mod_rewrite? > > Thanks, > /amn > > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python
|