jepri has asked for the wisdom of the Perl Monks concerning the following question:
I didn't because the code was over 500 lines and fairly involved. So I created a very simple test script to demonstrate the problem:
#!/usr/bin/perl -w use strict; use diagnostics; use CGI; my $query=new CGI; print $query->header(); print "This is a test\n"; print STDERR "This is a logfile test\n";
this produced:
==> /var/log/apache/error.log <== This is a logfile test ==> /var/log/apache/error.log <== This is a logfile test
the code copied to other servers runs fine - it's only this server. It happens in the CGI-BIN directory, in happens in a separate directory I aliased just for the purposes of this test.
If anyone with a clue about Apache reads this, please respond, it's driving me nuts.
The obvious conclusion is that apache is doing something wrong, so I fired up dselect and purged it. Upon reinstall, it still happens (I checked, there was nothing left of the config files). If this continues I'm going to go into the server room with an original copy of Debian and reformat the server. Before I do that, could someone drop me a line and let me know what I'm overlooking?
____________________
Jeremy
I didn't believe in evil until I dated it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OT Apache insanity continues
by mr.nick (Chaplain) on May 22, 2001 at 18:58 UTC | |
|
Re: OT Apache insanity continues
by Odud (Pilgrim) on May 22, 2001 at 19:14 UTC | |
|
Re: OT Apache insanity continues
by shotgunefx (Parson) on May 22, 2001 at 19:16 UTC |