apache – How to Enable HTTP DELETE Requests on Apache Server

apache-2.2http

I need to configure my server to permit the http delete method. currently, I get the following error when I attempt to make this call:


HTTP/1.1 405 Method Not Allowed
Date: Mon, 11 Apr 2011 20:56:23 GMT
Server: Apache/2.2.17 (Win32) PHP/5.3.5
Allow: GET,HEAD,POST,OPTIONS,TRACE
Content-Length: 233
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

I have searched far and wide and have not been able to come up with an answer as to how I can configure the server to allow this request. Someone please help as it has put a stop to my project.

Best Answer

You need to enable the WebDAV module in apache