WWW

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • random internal server error?

    2 answers - 181 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    This is perl, v5.8.0 built for i386-linux-thread-multi.
    Web Server version: Apache/2.0.48.
    RHEL 3.
    My CGI script randomly generates the following internal server error.
  • No.1 | | 661 bytes | |

    Hi, this is a common problem with CGI scripts, however i havn't found a
    one line fix for this yet. however the problem is happing becuase your
    script has a problem, either you have forced it to die or you have
    echo'd something to STDUT before the headers have been sent to STDUT
    not knowing what you script is doing, i would recommend outputing the
    headers to the browser as the first thing the script does (of course
    unless its a redirect), by doing this, CARP should CARP properly plus,
    any output from failing commands or echo/print lines you have forgotton
    about, will be visible in the page source.

    Hope this helps.
  • No.2 | | 67 bytes | |

    Thanks much for the heads-up! It provided a good start.
    Bing

Re: random internal server error?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "WWW"

EMSDN.COM