[mod_python] making mod_python handle every file request

Patrick Fitzsimmons patfitz at gmail.com
Mon Aug 1 13:36:51 EDT 2005

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.


More information about the Mod_python mailing list