[mod_python] Re: [SOLVED] [Vampire] ".vampire" not loaded but I do not see why

Graham Dumpleton grahamd at dscpl.com.au
Wed Nov 9 22:39:54 EST 2005

Stephane Bortzmeyer wrote ..
> http://www.dscpl.com.au/projects/vampire/articles/vampire-002.html
> gives an example with <Directory> but does not say that it is
> *mandatory* for Vampire.

In "http://www.dscpl.com.au/projects/vampire/articles/vampire-001.html"
it says:

  Apache can be configured to use Vampire from within a ".htaccess" file
  or the main Apache configuration file. You should first use the "SetHandler"
  directive to enable use of mod_python and then the "PythonHandler"
  directive to specify use of Vampire. The configuration settings should be
  included within a "Directory" directive if being placed in the main Apache
  configuration file.

    SetHandler python-program
    PythonHandler vampire
    PythonPath 'sys.path'

Thus it does say that the "Directory" directive should enclose its use.

In practice, the only thing that probably doesn't work if this isn't done is
the configuration file mechanism, which would thus rule out default
handlers, but other things should work.


More information about the Mod_python mailing list