-   Linux - Software (
-   -   Setting variable for Apache (

Corrado 08-03-2006 05:15 PM

Setting variable for Apache
I need to set LD_ASSUME_KERNEL=2.4.19 for the apache user.

Someone has suggested setting the value in .bash_profile or .bashrc. within apache's home directory.

Question: If the Apache account is set to /sbin/nologin, will having these hidden files help define variables?

In other words, with nologin, is the bash shell still being used?


gilead 08-04-2006 03:37 PM

Putting them in .bash_profile or .bashrc would only affect any login shells (or subsequent sub-shells) for the apache user. You are correct that if the apache user cannot login, these variables are never set.

What is it that you need the LD_ASSUME_KERNEL variable to affect? I don't know of an Apache version that needs this setting.

Corrado 08-04-2006 06:25 PM

Someone I work with is trying to get WSSO to work with Apache. What is WSSO?

gilead 08-05-2006 01:38 AM

The only thing I can think of is web single signon - but I don't know of anyone who's using it (I think weblogic has a product?)...

All times are GMT -5. The time now is 06:59 PM.