Re: user env needed in apache with mod_wsgi

2009-02-11 Thread Alan
Hy guys, Many thanks for your replies, a brief but strong lessons about python and shell. Indeed, I went for a solution similar to what Malcolm suggested. I am using a file with env variables to be loaded. Thanks a lot guys again. The webserver is up and now we are just tunning the feel&look and

Re: user env needed in apache with mod_wsgi

2009-02-11 Thread Graham Dumpleton
On Feb 12, 12:09 pm, Malcolm Tredinnick wrote: > On Tue, 2009-02-10 at 10:56 +, Alan wrote: > >  Hi list, > > > My problem is that: since when using apache + mod_wsgi I got a neutral > > env for my server (e.g. PATH=/usr/bin:/bin) but in the end what I need > > is all the envs that is in a

Re: user env needed in apache with mod_wsgi

2009-02-11 Thread Malcolm Tredinnick
On Tue, 2009-02-10 at 10:56 +, Alan wrote: > Hi list, > > > My problem is that: since when using apache + mod_wsgi I got a neutral > env for my server (e.g. PATH=/usr/bin:/bin) but in the end what I need > is all the envs that is in a particular $HOME/.bashrc file in order to > when server

user env needed in apache with mod_wsgi

2009-02-10 Thread Alan
Hi list, My problem is that: since when using apache + mod_wsgi I got a neutral env for my server (e.g. PATH=/usr/bin:/bin) but in the end what I need is all the envs that is in a particular $HOME/.bashrc file in order to when server spawns a program (that may not be in the neutral PATH and besides