[mod_python] PythonTransHandler contract requirements?

Dustin Mitchell dustin at ywlcs.org
Tue Jun 3 17:24:13 EST 2003


You need to set req.filename to a file that actually exists; since you're
using a PythonHandler, it shouldn't really matter which file you choose, so
it's safe to just point it at your script (__FILE__) or some other
known-present file.

I hope that answers your query.

Dustin

-- 

  Dustin Mitchell
  dustin at ywlcs.org/djmitche at alumni.uchicago.edu
  http://people.cs.uchicago.edu/~dustin/


More information about the Mod_python mailing list