[mod_python] standard path

riesch at nieuw.nl riesch at nieuw.nl
Mon Jul 30 13:55:00 EST 2001


Hi there,


I'm wondering. I now have setup for my apacha-server (httpd.conf) similar to the following:

<directory />
   SetHandler python-program
   PythonHandler main
   PythonDebug On
</directory>


The file with the mod-python handler (aka the entrance) now has to be placed in a standard path, which can be located by the python-interpreter. Now it isn't very attractive for me to use these paths. Is there a way around this. I've been trying something like:

PythonPath /home/user/site/

but this generated errors.

Any hints ?


Richard.



More information about the Mod_python mailing list