4

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

Jonathan
  • 191
  • 1
  • 1
  • 6

2 Answers2

5

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.

Jonathan
  • 191
  • 1
  • 1
  • 6
0

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.

Victor Rodrigues
  • 283
  • 1
  • 2
  • 4