httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Mathwich <...@4950.net>
Subject Re: [users@httpd] passing all env vars to a cgi
Date Thu, 12 Feb 2009 10:28:39 GMT
Am Donnerstag 12 Februar 2009 11:15:36 schrieb Matus UHLAR - fantomas:
> On 12.02.09 08:59, Jürgen Mathwich wrote:
> > I 've got a problem regarding apache's environ handling. I know about the
> > usage of SetEnv and PassEnv. To use them I have to know the key/name of
> > every single environ variable.
> >
> > When doing a
> >
> > # cat /proc/<APACHE-PID>/environ
> >
> > it shows me more variables than the cgi knows about. Now I have a project
> > where I need to pass all the vars without knowing their keys to the cgi
> > (just ALL of them), but I don't have any idea how to solve this in a easy
> > way.
>
> the vars from where? Apache can only send to CGI variables it has set when
> started, or on config file.
>
> Note that for example suexec limits variables that are sent to CGIs

all vars from the apaches process environ - so ... those that were exported in /etc/profile
and 
similar shell configurations. (assuming apache does not run in an spearate chroot environ
or other 
*tricks* ignoring environmental settings)


Mime
View raw message