Discussion:
Tracking down a http 500 error
(too old to reply)
Claus Mygind
2008-09-17 15:05:41 UTC
Permalink
I have one app that is giving me some trouble. and a 500 error is not very
helpful to me. Basicly it says "an internal error or misconfiguration". I
am more inclined to accept the misconfiguration part as I have this app
working on other servers. But I am not really sure what to look for.

This is an ajax call on a Apache v 2.0.54 webserver.

Any suggestions at this time will be appreciated.

Claus

<!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 ormisconfiguration and
was unable to completeyour request.</p><p>Please contact the server
administrator, ***@tsccorp.com and inform them of the time the error
occurred,and anything you might have done that may havecaused the
error.</p><p>More information about this error may be availablein the server
error log.</p><hr><address>Apache/2.0.54 (Win32) Server at 200.1.2.167 Port
80</address></body></html>
Dan Barbaria
2008-09-17 20:49:33 UTC
Permalink
Claus,

I get this error if I don't leave a blank line after the 'Content-type' as
shown below:
puts('Content-type: text/html')
puts('')
puts('<HTML>')

Dan Barbaria
Post by Claus Mygind
I have one app that is giving me some trouble. and a 500 error is not very
helpful to me. Basicly it says "an internal error or misconfiguration". I
am more inclined to accept the misconfiguration part as I have this app
working on other servers. But I am not really sure what to look for.
This is an ajax call on a Apache v 2.0.54 webserver.
Any suggestions at this time will be appreciated.
Claus
<!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 ormisconfiguration
and was unable to completeyour request.</p><p>Please contact the server
occurred,and anything you might have done that may havecaused the
error.</p><p>More information about this error may be availablein the
server error log.</p><hr><address>Apache/2.0.54 (Win32) Server at
200.1.2.167 Port 80</address></body></html>
Claus Mygind
2008-09-22 11:29:42 UTC
Permalink
Thanks Dan,

I will check

Claus
Post by Dan Barbaria
Claus,
I get this error if I don't leave a blank line after the 'Content-type' as
puts('Content-type: text/html')
puts('')
puts('<HTML>')
Dan Barbaria
Post by Claus Mygind
I have one app that is giving me some trouble. and a 500 error is not very
helpful to me. Basicly it says "an internal error or misconfiguration".
I am more inclined to accept the misconfiguration part as I have this app
working on other servers. But I am not really sure what to look for.
This is an ajax call on a Apache v 2.0.54 webserver.
Any suggestions at this time will be appreciated.
Claus
<!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 ormisconfiguration
and was unable to completeyour request.</p><p>Please contact the server
occurred,and anything you might have done that may havecaused the
error.</p><p>More information about this error may be availablein the
server error log.</p><hr><address>Apache/2.0.54 (Win32) Server at
200.1.2.167 Port 80</address></body></html>
Loading...