Why does my web server software disallow PUT and DELETE requests?

Often web servers will be configured to block anything except GET and POST since
99% of the time they’re all that are needed and there have been problems in the
past with applications assuming the requests were one of those two.

You don’t say which server it is but, for example, you can tell Apache which
methods to allow with the directive:

eg:

<Limit POST PUT DELETE>
  Require valid-user
</Limit>

It sounds like maybe some helpful sysadmin has used this to block non GET/POST

You could try an .htaccess with

<Limit GET POST PUT DELETE>
  Allow from all
</Limit>

(I’m not an expert at apache, this may not be exactly correct)

Leave a Comment