[mod_python] making mod_python handle every file request

Scott Sanders sanders at apache.org
Mon Aug 1 13:45:04 EDT 2005

Do a SetHandler:

Instead of :
> AddHandler mod_python .adp .psp
    SetHandler mod_python

That will handle EVERY single request through mod_python

Scott Sanders

On Aug 1, 2005, at 10:36 AM, Patrick Fitzsimmons wrote:

> 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.

More information about the Mod_python mailing list