[mod_python] installing handlers on Apache server?

Graham Dumpleton grahamd at dscpl.com.au
Wed Apr 12 17:02:06 EDT 2006


Whoops. I myself forgot to cc the mailing list this time.

Just for the record, pushing this exchange back to the list. :-)

On 13/04/2006, at 6:38 AM, John Salerno wrote:

> I see. Thanks for the answers!
>
>
> John
>
>
>
> On 4/12/06, Graham Dumpleton <grahamd at dscpl.com.au> wrote:
> On 13/04/2006, at 5:51 AM, John Salerno wrote:
>
> > Just to follow up, everything seems to be working now after their
> > upgrades, and I didn't have to do anything. However, I did notice
> > that the .htaccess file they have contains this:
> >
> > AddHandler python-program .psp
> > PythonHandler testingpython
> > PythonDebug On
> >
> > whereas I had always thought it was supposed to contain:
> >
> > AddHandler mod_python .psp
> > PythonHandler mod_python.psp
> > PythonDebug On
> >
> >
> > So perhaps that was part of the problem. I'm not sure what the
> > difference between the two is.
>
> The difference between the two is that they have written their own
> handler
> to handle any requests arriving with a .psp extension, whereas the
> latter
> will trigger the supplied mod_python.psp handler for any requests
> arriving with
> a .psp extension. Both are valid, it just depends on what you are
> wanting to
> do.
>
> Graham
>



More information about the Mod_python mailing list