Esteemed Listers, 

I have a Rexx script running as CGI in the IBM HTTP Server powered by Apache. 
Now, I need to debug it, so I switched on trace in the Rexx. Immediately 
everything went belly-up. Indeed, Apache thinks the trace output are HTTP 
headers and brutally stops processing the CGI because the format of the trace 
text obviously is not conforming to the syntax for HTTP headers. I then get an 
HTTP 500 Internal Server Error in my browser.
Theory has it that whatever a CGI script writes to stderr goes to the Apache 
error log. So... Is there any way of getting Rexx to send its trace output to 
stderr instead of stdout?

Google usually is my friend, but on this occasion it did not bring up anything 
useful, I am afraid...

Thanks and very best regards,

Jantje.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to