On Sat, Jun 04, 2005 at 01:50:24AM +0900, HAL 9000 wrote:
> Any ideas how to debug this one?
> 
> For example, can I "see what the web server sees" (but doesn't
> write to the log)?

You could write a shell script .cgi that invokes your problem cgi, and
pipes the target's output through tee(1)

Something like...

  #!/bin/sh

  /path/to/problem.cgi 2>&1 | tee /path/for/log.txt

...maybe?


dave

-- 
http://david.holroyd.me.uk/