How to track down a 500 error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Claus Mygind
    Contributor
    • Mar 2008
    • 571

    How to track down a 500 error

    I have 3 web servers (one production and two test).

    Production machine runs Apache 2.0.54
    Old test machine runs Apache 2.0.44
    New test machine runs Apache 2.0.54

    In one of my apps I make an ajax call (only one of several others work fine). I get this error message
    Code:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>500 Internal Server Error</title>
    </head><body>
    <h1>Internal Server Error</h1>
    <p>The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.</p>
    Furthermore the error log records this message

    Code:
    [Mon Sep 22 07:22:54 2008] [error] [client 200.1.2.167] Premature end of script headers: GetData.exe, referer: http://200.1.2.167/.../Job.exe
    The problem occurs in my javaScript file where it is trying to send the query string on the ajax call.

    Code:
    	xmlHttp.send(queryString);
    That of course is the application calling the "GetData.ex e" app

    This code/app is the identical code running on all 3 machines. The code works fine on the Old test machine and the Production machine. I only get the error on the New test machine. So I am not really suspecting the code to be the problem as much as how I setup the Apache server.

    My problem is this I just don't know where to look in my config file or anywhere else for that matter to try to fix this problem.

    Any suggestions on how I might begin to tackle this problem would be appreciated.
  • Claus Mygind
    Contributor
    • Mar 2008
    • 571

    #2
    Well it appears it was my ODBC connector to MySQL that created the problem. I have two versions of MySQL odbc connectors both in the 3.51 series but different builds. The newer version had so language format options the older did not. As I do not understand to much about that I reverted to the older connector where life is simpler.

    Comment

    Working...