[Pythonmac-SIG] PYTHONPATH question

Dieter Gyselinck dieterg at pandora.be
Tue Aug 19 11:15:24 EDT 2003


Hey Martina,

    thanx for showing me the way;-)  I've managed to get it working.  I 
had to:
- Uncomment line: LoadModule env_module         libexec/httpd/mod_env.so
- Uncomment line: AddModule mod_env.c
- Add line in http.conf : PassEnv PYTHONPATH

Thanx,
Dieter.

Martina Oefelein heeft op maandag, 18 aug 2003 om 21:51 
(Europe/Brussels) het volgende geschreven:

> Hi Dieter,
>
>>     thanx a lot for looking into this problem.  I don't think the 
>> server 'knows' about the path, and that is my problem.  I can't find 
>> good info about how to do that.  Do you know (or have resources on) 
>> how to fix this one?
>
> This depends on the web server. Assuming that you are using Apache, 
> you can use the SetEnv directive. See:
> http://localhost/manual/mod/mod_env.html#setenv
> or
> http://httpd.apache.org/docs/mod/mod_env.html#setenv
>
> ciao
> Martina
>
>
>




More information about the Pythonmac-SIG mailing list