Now that I've got Apache2 behaving fairly well, I'm getting a couple
of errors returned from a cgi that has been working fine for a long
time.
The syntax checks out fine, so there's obviously something I need to
change with this setgid thing
"The server encountered an internal error or misconfiguration"
[error] [client 127.0.0.1] Premature end of script headers:
stringcalc.cgi, referer: http://127.0.0.1/~jd/stringcalc.html
[error] [client 127.0.0.1] Insecure dependency in eval while running
setgid at /cgi-bin/stringcalc.cgi line 273., referer:
http://127.0.0.1/~jd/stringcalc.html
The chunk about l. 273 is like this:
sub getcopper {
undef $sc;
undef $cov1;
undef $cov2;
$cu = (($d * 10) - $mwg{$mwg}) * 100 / 2 / $loss;
for (25, 30, 40, 60, 70, 75) {
$x = $cu / 100 * $_;
eval("\$c$_ = sprintf \"%.0f\", $x");
} ### etc.
Any ideas?
JD
- Re: Am I missing necessary DropScript... Sherm Pendley
- Re: Am I missing necessary DropScript configu... Puneet Kishor
- Re: Apache2 John Delacour
- Re: Apache2 Puneet Kishor
- Re: Apache2 John Delacour
- Re: Apache2 Puneet Kishor
- Re: Apache2 Martin Redington
- Re: Apache2 Puneet Kishor
- Re: Apache2 Martin Redington
- Re: Apache2 John Delacour
- Re: cgi trouble John Delacour
- Re: cgi trouble Jefferson R. Lowrey
- Re: cgi trouble Dave Gomez
- Re: cgi trouble Sherm Pendley
- Re: Apache2 Terje Bless
- Re: Apache2 Chris Nandor
- Fwd: Am I missing necessary DropScript configurations? Matthew Galaher