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 want to enable REST support in iis 6. My Googling has shown me that i can achieve PUT requests by [enabling WebDav] , however enabling the Delete method still eludes me. I've seen suggestions about editing configuration files, however i come from an apache background, and know little about iis configuration.

Thanks

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

I discovered the answer by accident, trying to enable parent paths.

Open the IIS Management console,

Right click on your website in the sidebar and go to properties.

Go to the "Home Directory" Tab

In the "applications settings", click on the "configuration" button

In the "Applications configuration" Window, there should be a Mappings Tab

Simply choose which file extensions you want to have mapped (in my case i wanted ASP to map GET, PUT, POST & DELETE), comma delimited. And thats it, not even a restart required.

share|improve this answer
add comment

And if you need to do this to an ASP.NET MVC2 application, just put the aspnet_isapi.dll in the wildcard application maps, in the same tab Jonathan said.

share|improve this answer
add comment

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.