Re: Extended error log

From: David Efflandt (efflandt_at_xnet.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 09:38:54 +0000 (UTC)

On Mon, 29 Nov 2004 00:39:42 +0100, Atreju <atreju@xs4all.nl> wrote:
> My webserver returns a plain error log to the browser, error return now is :
>
> Internal server error ... the server encountered an internal erro of.......
>
> How can you enable extensive error to browser the machine runs on linux
> fedora core 1.

I don't know if there is an apache config to enable more details to the
browser for 500 server error (may be considered security risk). But
assuming the problem is broken CGI, you could easily create a shell
wrapper that you could access instead to get raw text output, including
actual shell error (stderr):

#!/bin/sh
echo "Content-type: text/plain"
echo
./some.cgi 2>&1

Note that any headers the CGI itself generates will appear in the browser
text. But that can help identify if your script forgot to output any
headers.



Relevant Pages

  • Re: "background "
    ... Michael Koerner [MS PPT MVP] ... Echo ... > I changed the browser color when I go it on www it was still black. ...
    (microsoft.public.powerpoint)
  • Re: Home Network: Comp A can access CompB, but CompB doesnt see CompA
    ... You might not have permission to ... Make sure the browser service is running on one computer. ... The Microsoft Browstat program will show us what browsers you have in your ... @echo CDiagnosis %Version%>c:\cdiag.txt ...
    (microsoft.public.windowsxp.network_web)
  • Re: failed to open stream: HTTP request failed! HTTP/1.1 503 Service Unavailable
    ... when manually i put url in browser ... it opens. ... > echo $homepage; ... > Warning: file_get_contents(http://www.mvnforum.com/mvnforum/ ...
    (comp.lang.php)
  • Re: "background "
    ... Echo ... > I changed the browser color when I go it on www it was still black. ... >> Echo [MS PPT MVP] ...
    (microsoft.public.powerpoint)
  • Re: [PHP] Form Input Type="File"
    ... echo "<!DOCTYPE HTML PUBLIC ... browsers after the form submission, ... It seems that IE is the only browser that is passing ...
    (php.general)