AJAX 501 error

Scott Crooks June 19, 2012

I encounter a strange problem with Jira 4.4.5. Anytime I try to make a change (a date in a project, changing user permissions) that uses AJAX, the request just hangs there and never actually completes.

I used Chrome to analyze the AJAX call, and here's the result:

http://i.stack.imgur.com/5Qpav.png

Returns a 501 error from Apache. Seems the PUT method is not supported.

Is there a way to enable this? Here's more information about the server.

Jira

Version 4.4.5
Build Number 665
Build Date Wed Feb 15 00:00:00 CST 2012
Build Revision 422aeadac7e4462fb4ae63fce804ff78c4258dd6

Server

Application Server Container Apache Tomcat/6.0.32
Database version MySQL 5.0.96-0ubuntu3
Java Version 1.6.0_26
Linux Distribution Ubuntu 8.04 LTS

1 answer

1 accepted

1 vote
Answer accepted
Sheldon A Brown July 30, 2013
Responding to an old question for completeness, as I just bumped into this. By default, Apache DOES support the PUT request, but in case you are running a custom configuration, here is the documentation no how to fix it: http://www.ntu.edu.sg/home/ehchua/programming/howto/Apache_HowToConfigure.html Essentially check that your LIMIT statement(s) don't include PUT if they are set to deny: <limit post="" put="" delete=""> # this prevents a PUT Order deny,allow Deny from All </limit> In my case, it was not Apache causing the issue, but Pound (a reverse proxy). Pound by default blocks PUT requests, it needs the xHTTP setting turned on: http://www.mikedellanoce.com/2011/09/enabling-pound-proxy-support-for-http.html

Suggest an answer

Log in or Sign up to answer