Afficher un message
Vieux 07/05/2005, 21h15   #1
Yi Qiang
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut suexec and environmental variables

Hi,
I've looked high and low and searched the groups for a solution. I
understand that suexec strips environmental variables before it launches
the child process. Looking at the c code it uses execve(). My question
is: how can I get child processes to inherit some environmental
variables from a central file (like source profilename). I.E. I'd like
to have *one* file that specifies environmental variables for all sorts
of cgi scripts (bash/perl/python/c) etc. Is that possible?

Thanks in advance,
Yi
  Réponse avec citation
 
Page generated in 0,04168 seconds with 9 queries