Gregory (Grisha) Trubetskoy
grisha at modpython.org
Fri Aug 16 11:56:44 EST 2002
Yes, if for the document root directory you have SetHandler python-program PythonHandler script then every single request on that server will be handled by script.py On Fri, 16 Aug 2002, Gary Benson wrote: > On Fri, Aug 16, 2002 at 11:00:11AM -0400, Gregory (Grisha) Trubetskoy wrote: > > > Sure - if the script is in the python path somwhere that's how it would > > work (unless I'm missing something in your question). > > Erm, I'm probably not being very clear. What I meant was, if I have a > server is there any way to map all requests inside http://foo.bar/webapp > to the same Python script such that http://foo.bar/webapp/baz and > http://foo.bar/webapp/quux both get served by (say) script.py. > > Cheers, > Gary > > [ gbenson at redhat.com ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ] > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|