RE: [users@httpd] Environment Variable contamination between vhosts - 1.3.33

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

 




> -----Original Message-----
> From: Joshua Slive [mailto:jslive@xxxxxxxxx]
> Sent: Tuesday, August 09, 2005 8:14 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] Environment Variable contamination between
> vhosts - 1.3.33
> 
> On 8/8/05, Marc Powell <marc@xxxxxxx> wrote:
> > Well... no luck there. PHP's Rasmus Lerdorf said in direct response
to
> > my inquiry --
> >
> > "These variables are set by Apache and PHP repopulates them on each
> > request, so I don't really see how PHP could be causing this.
> >
> > -Rasmus"
> >
> > I feel like the middleman in a he-said-she-said fight ;) Judging by
a
> > Google search for his name, he should certainly be in the know.
> >
> > Any other suggestions?
> 
> Did you tell him that the variables are correct in CGI scripts but not
> in php pages?  That seems pretty conclusive to me.

Yes, and provided the exact script used --

"Using --

#!/usr/bin/perl
##
##  printenv -- demo CGI program which just prints its environment
##

print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
    $val = $ENV{$var};
    $val =~ s|\n|\\n|g;
    $val =~ s|"|\\"|g;
    print "${var}=\"${val}\"\n";
}

I do not see the issue. This is why the apache guys thought it was a php
issue."

--
Marc

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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