[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-1.7, apache-1.13.22 and nobody:nogroup user env?
From: |
David Pirotte |
Subject: |
Re: guile-1.7, apache-1.13.22 and nobody:nogroup user env? |
Date: |
Tue, 11 Dec 2001 13:08:43 +0100 |
address@hidden wrote:
> Well, as far as i recall Apache won't source the login scripts for user
> 'nobody' UNLESS you start it up as this user (which might be hard given
> the fact that you probably want to bind to port 80 ...).
> There are several solutuions to this problem:
>
> - add the proper environment variables to the script that starts
> your server (usually somewhere in /etc/init.d or the like).
>
> - there is an Apache module that allows you to set/pass an
> environment variable to a cript (it's called 'mod_env).
> You would add something like:
>
> SetEnv LD_LIBRARY_PATH /usr/local/lib
> SetEnv PGLIB /whereever/it/is
> SetEnv PGDATA /same/here
Thanks!
I immediately tried both solutions, for your info, only the second works
In fact, previously to write to this list, I also tried
PassEnv LD_LIBRARY_PATH
...
but with no success! I thought that apache WAS executing the noboody .profile
and friends, my mistake
thanks a lot
david