in reply to Getting random "Internal Server Errors"

"500 Internal Server Error" may result from an error in your CGI script but it may also result from a fault in your web server (apache?, IIS?, something else?). If the server is returning a 500 status to the browswer but not logging anything in its error log then I would say that it is broken or misconfigured. You should fix the server so that it logs useful information before struggling with possible CGI script errors.

The fact that a script containing nothing but a print of a hard coded string sometimes fails suggests very strongly that your web server is broken.

  • Comment on Re: Getting random "Internal Server Errors"

Replies are listed 'Best First'.
Re^2: Getting random "Internal Server Errors"
by polki (Novice) on May 05, 2009 at 22:15 UTC
    Webserver is lighttpd. Just checked the config again and i can't find any stuff that could be wrong or at least cause problems. Can you give me an idea where to start?
        Thanks. Posted my concern there too. Let's see how things work out.
        Meanwhile i'm happy about any other hint you guys can give me. This has been to long of a hassle for me now...