Handle WebDAV with IHttpHandler?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I'm using a class derived from IHttpHandler to handle http requests. It works fine for GET, POST, etc, but doesn't seem to get called for WebDAV requests (PROPFIND, for example). I added this to my web.config
<httpHandlers><add verb="*" path="*" type="MyWebDAV.WebDAVHandler,MyWebDAV.WebDAV"/></httpHandlers

Is the web.config file ignored for WebDAV requests? How else can these requests be handled

Thanks
dere
 
asp.net does not support WebDAV, so if you want to write a .net WebDAV
handler, you will need to implement the whole protocol yourself and turn off
the default WebDAV filter on your web site (generally the Exchange
implementation) .

-- bruce (sqlwork.com)



derek said:
Hi,

I'm using a class derived from IHttpHandler to handle http requests. It
works fine for GET, POST, etc, but doesn't seem to get called for WebDAV
requests (PROPFIND, for example). I added this to my web.config:
 
bruce barker said:
asp.net does not support WebDAV, so if you want to write a .net WebDAV
handler, you will need to implement the whole protocol yourself and turn off
the default WebDAV filter on your web site (generally the Exchange
implementation) .

-- bruce (sqlwork.com)

You don't have to implement the whole protocol yourself - you can use a
component. IP*Works! .Net Edition has a WebDAV component included in it.
 
Did you ever get this working? I'm trying it also with no luck. I'm using a Wildcard Application Map in IIS 6.0, but it doesn't seem to work for some security reason.

----- derek wrote: ----

Hi

I'm using a class derived from IHttpHandler to handle http requests. It works fine for GET, POST, etc, but doesn't seem to get called for WebDAV requests (PROPFIND, for example). I added this to my web.config
<httpHandlers><add verb="*" path="*" type="MyWebDAV.WebDAVHandler,MyWebDAV.WebDAV"/></httpHandlers

Is the web.config file ignored for WebDAV requests? How else can these requests be handled

Thanks
dere
 
We have written a WEBDAV server (supporting propfind lock get put ect ect)
using a HTTP handler with windows authentication.

If you still stuck let me know.

Steve


drasticp said:
Did you ever get this working? I'm trying it also with no luck. I'm using
a Wildcard Application Map in IIS 6.0, but it doesn't seem to work for some
security reason.
----- derek wrote: -----

Hi,

I'm using a class derived from IHttpHandler to handle http requests.
It works fine for GET, POST, etc, but doesn't seem to get called for WebDAV
requests (PROPFIND, for example). I added this to my web.config:
 
Hi steve

can u giv me some insight on how to trap webdav request with Custom HttpHandler. Also how to proceed ahead.

Thanks
Kavita
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top