Apache DELETE request

ぃ、小莉子 提交于 2019-12-12 17:35:17

问题


I have a problem. My webserver sinds 403 responses when I send a DELETE request. I don't want to delete the thing in my request, I just need to know that the method used was delete. How do I configure my webserver that it doesn't send those 403 messages anymore? I don't want WebDAV enabled or something like that. I just want to know if the request method was DELETE (in my php file, but it isn't executed because of the 403).


回答1:


From what I read it should be something like this:

<Limit DELETE>
  Order deny,allow
  Allow from all
</Limit>


来源:https://stackoverflow.com/questions/11170377/apache-delete-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!