468,272 Members | 2,194 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,272 developers. It's quick & easy.

How to track down a 500 error

Claus Mygind
571 512MB
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
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  2. <html><head>
  3. <title>500 Internal Server Error</title>
  4. </head><body>
  5. <h1>Internal Server Error</h1>
  6. <p>The server encountered an internal error or
  7. misconfiguration and was unable to complete
  8. your request.</p>
  9.  
Furthermore the error log records this message

Expand|Select|Wrap|Line Numbers
  1. [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
  2.  
The problem occurs in my javaScript file where it is trying to send the query string on the ajax call.

Expand|Select|Wrap|Line Numbers
  1.     xmlHttp.send(queryString);
  2.  
That of course is the application calling the "GetData.exe" 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.
Sep 22 '08 #1
1 3443
Claus Mygind
571 512MB
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.
Sep 22 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by JDJones | last post: by
1 post views Thread by Jon | last post: by
27 posts views Thread by Frederick Gotham | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.