#331540 eperl: fails to work in nph mode

Package:
eperl
Source:
eperl
Description:
Embedded Perl 5 Language
Submitter:
Carter Wiggins
Date:
2010-03-07 13:36:10 UTC
Severity:
normal
#331540#5
Date:
2005-10-03 21:53:38 UTC
From:
To:
In NPH compliant mode with it fails to display environment variables
like SERVER_NAME and many others. The script test.epl like this one:

<?
 foreach $var (sort(keys(%ENV))) {
 $val = $ENV{$var};
 $val =~ s|\n|\\n|g;
 $val =~ s|"|\\"|g;
 print "${var}=\"${val}\"\n";
}
!>

gives only:

DOCUMENT_ROOT="/var/www"
HTTP_ACCEPT="text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
HTTP_ACCEPT_CHARSET="ISO-8859-1,utf-8;q=0.7,*;q=0.7"

which is too little and renders my old eperl written pages unusable.

#331540#10
Date:
2005-10-03 22:14:18 UTC
From:
To:
On Mon, Oct 03, 2005 at 04:53:38PM -0500, Carter Wiggins wrote:
[...]

Do you mean that this is a regression?  Can you please tell which
version worked?

Denis

#331540#15
Date:
2005-10-04 08:49:16 UTC
From:
To:
severity 331540 normal
tags 331540 unreproducible
thanks

I cannot reproduce your bug, and eperl did not change for a long time.
This is certainly a configuration issue of your web server, so I
downgrade its severity for now.

Denis