Re: passing all env vars to a cgi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux