[mod_python] Problems with PythonPath directive

Barry Warsaw barry at python.org
Tue Aug 26 15:41:15 EST 2003


On Tue, 2003-08-26 at 15:01, Gregory (Grisha) Trubetskoy wrote:
> Hi Barry -
> 
> Try
> 
> PythonPath "sys.path + ['/path/to/project/zope2/lib/python',
>                         '/path/to/project/xxx/xxx_apps']"
> 
> (the above should be on one line)
> 
> IIRC, mod_python will prepend the path in <Directory> to sys.path, unless
> PythonPath is specified, in which case PythonPath overrules everything.

Indeed, that worked!  Thanks so much Grisha.

-Barry




More information about the Mod_python mailing list