When using POST method to request via Nginx 0.6.33 without any post body data, you may get this error: 411 Length Required. Download nginx-0.6.33-length_required patch Save the attachment and run this command in the root path of nginx 0.6.33 source code: patch ./src/http/ngx_http_request.c<nginx-0_6_33-length_required.patch Then "make && make install && sudo /sbin/service nginx restart" and enjoy your AJAX function.
2008-11-28
Fix Nginx “411 Length Required” Problem
3 条评论 »
这篇文章上的评论的 RSS feed TrackBack URL
Here is some information about this discuss:
http://www.ruby-forum.com/topic/162976#754426
评论 by rocky — 2008-11-29 @ 11:36
Here is the patch for nginx 0.6.34: http://rocky.blog.kingtch.com/files/2008/11/nginx-0.6.34-411_length_required.patch
评论 by rocky — 2008-11-29 @ 12:06
хорошо пишете
评论 by Kaverin — 2009-06-17 @ 11:57