diff --git a/_example/test/index.pl b/_example/test/index.pl
index a9e68e41d..080a6cd66 100755
--- a/_example/test/index.pl
+++ b/_example/test/index.pl
@@ -89,7 +89,7 @@ print "
\$ENV{REMOTE_USER}: $ENV{REMOTE_USER}\n";
print "\n";
print "\n";
print
-"Be carefull, the
\$ENV{REMOTE_USER} is set only if your script is in the same server than LemonLDAP::NG Handler (
\$whatToTrace parameter). If you use it on a reverse-proxy,
\$ENV{REMOTE_USER} is not set. See
this documentation page to know how to convert an HTTP header into an environment variable.
\n";
+"Be carefull, the
\$ENV{REMOTE_USER} is set only if your script is in the same server than LemonLDAP::NG Handler (
\$whatToTrace parameter). If you use it behind a reverse-proxy or in another server than Apache,
REMOTE_USER is not set. See
this documentation page to know how to convert an HTTP header into an environment variable.
\n";
print "\n";
print "\n";
@@ -103,13 +103,13 @@ print
print "\n";
print "
\n";
print
-"Header | Perl CGI | PHP script | Value |
\n";
+"Header | CGI environment variable | PHP script | Value |
\n";
foreach ( sort keys %$headers ) {
next if $_ =~ /(Accept|Cache|User-Agent|Connection|Keep-Alive)/i;
print qq{
$_ |
- \$ENV{$headers->{$_}} |
+ $headers->{$_} |
\$_SERVER{$headers->{$_}} |
};
my @tmp;
@@ -133,7 +133,7 @@ foreach ( sort keys %$headers ) {
print " |
\n";
}
print "
\n";
-print "
\n";
+print "\n";
print
"Note that LemonLDAP::NG cookie is hidden. So that application developpers can not spoof sessions.
\n";
print