I have set HostNameLookups off on my server (Apache 1.3.1 BSDI 3.0) and now
SSI won't print the REMOTE_HOST env var (<!--#echo var="REMOTE_HOST"-->).
This is somewhat reasonable ;-) Same for printing this variable specifically
in a CGI script.
However, if I use a Perl script which just scans thru the whole env array
foreach $key (keys(%ENV)) {
print "$key = $ENV{$key}<br>\n";
}
it will print the variable and display correct content.
How is this possible?
This variable should not be available at all if I can't reference it by name.
Or not?
Kai
--
Kai Sch?tzl, Berlin, Germany
IE-Center: http://msie.conactive.com
ClubIE - Activate the Net: http://www.ClubIE.com