我使用Apache作为代理服务器。当我的web应用程序发送一个500错误代码为响应AJAX调用,阿帕奇显示它自己默认的内部错误消息Apache覆盖500个HTTP状态码响应
<!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>
<p>Please contact the server administrator,
[email protected] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
是否有办法避免这种情况,从而使错误响应亘古不得到由Apache服务器蜕变。