问题
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