[mod_python] mod_python 3.1.2b and directory indexes

Simon Willison cs1spw at bath.ac.uk
Thu Dec 11 14:08:17 EST 2003


Daniel J. Popowich wrote:

> I upgraded to 3.1.2b recently and have noticed that when I reference
> an URL that is a directory my request handler is never called, but
> instead I get a directory index (assuming Option Indexes is specified,
> if not I get a 403 error).  This didn't happen with 3.0.1 where
> directory or file, my python request handler was called.

I was hit by that one too. My solution was to ditch Directory directives 
entirely and switch to using Location instead, which appears to be a 
much more logical way of working with mod_python as handlers can live 
anywhere on the Python path, making Directory based handlers pretty much 
irrelevant.


More information about the Mod_python mailing list