2010年5月31日星期一

[fw-server] Re: Zend Server Virtual Host - Error Message Output

Exactly same problem, like i described here :
http://zend-framework-community.634137.n4.nabble.com/Zend-Server-4-5-update-ErrorDocument-issue-tp2228516p2228516.html

No way to fix this, i can't figure out what's wrong with apache2.

If someone had the same problem when upgrading from Zend Server 4 to 5 on
windows, please how did you fix it ?

I'm forced to re-install Zend Server 4 to work properly because even my Ajax
calls can't be handled because when i set an 400 error code to response and
output JSON, apache adds a error too, ex. :

{"errors":{"nickname":{"isEmpty":"Champ requis."},"email":{"isEmpty":"Champ
requis."}}}<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<p>Additionally, a 400 Bad Request
error was encountered while trying to use an ErrorDocument to handle the
request.</p>
</body></html>


No way :)

Any help plz ? Thanks.

br,
Benjamin.
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-Server-Virtual-Host-Error-Message-Output-tp1574698p2237168.html
Sent from the Zend Server mailing list archive at Nabble.com.

没有评论: