Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've been hunting for a while and can't seem to find how to enable PUT and DELETE in IIS7. I keep getting 404s when I use those verbs. I've played with request filtering, and that has no impact. I've looked in IIS logs and I just see 404.0. Any ideas?

More info: I'm using an HttpModule for REST URL re-writing. So the handlers verbs won't cut it.

Update: OK -- so I figured it out. I am using a module to re-write URLs and then a handler to process. To get PUT and DELETE to work, I have registered the module as usual, and then explictly registered the handler for the PUT and DELETE verbs.

share|improve this question

1 Answer 1

up vote 8 down vote accepted

You can take a look at the "Handlers Mappings" sections at either the server or site level (IIS group). Select a mapping for an extension (e.g. .aspx) and select "Edit" from the context menu. The "Verbs" tab allows you to specify verbs to accept.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.