Daniel Popowich
dpopowich at comcast.net
Mon Aug 1 13:51:12 EDT 2005
Use SetHandler: <Directory /some/dir> SetHandler mod_python PythonHandler YOUR-HANDLER </Directory> Then all files under /some/dir will be handled by your mod_python handler, YOUR-HANDLER. Daniel Popowich ----------------------------------------------- http://home.comcast.net/~d.popowich/mpservlets/ Patrick Fitzsimmons writes: > How do I make mod_python handle every request, regardless of the extension? > > My current .htaccess file is: > > AddHandler mod_python .adp .psp > PythonHandler dispatch > > I want mod_python to handle any file, whether it be .doc, .jpg, .zip, etc. > > I tried doing: AddHandler mod_python .adp *.* but that didn't work. > > Anybody know? I guess I could set up a mod_rewrite rule, but there > must be a really simple way that I'm just missing. > > Thanks for any help. > > -Patrick > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python
|