Hi
I need to add an ISAPI filter which allows for WebDav requests to either be redirected or the Url to be modified. We have a site that currently has urls similar to:
http://site.domain.com/sitename/ this is a WSS 2.0 site. We are moving to WSS 3.0 and are moving the sites in the hierachy to allow for a better distribution of sites across databases and therefore an improved backup and restore strategy.
The new url would be
http://site.domain.com/sites/sitename/ I have written an ISAPI filter that modifies the url from the one above to the new url to allow for existing links to be carried forward without users getting a broken link. In addition to the above users can get to the new site with new urls such as
http://site/sites/sitename/
or
http://site.newdomain.com/sites/sitename/
The old domain is only being maintained to allow for existing links in documents, favourites, etc, to continue to work.
The big headache I have is that users will have created network places with a unc style path for webdav requests. Therefore I need to be able to handle those requests such as
\\site.domain.com\sitename\document_library\ with the sites path inserted into the request.
Running my ISAPI filter in debug I can see the request coming in and it gets modified to include the sites/ path but the code returns a failed request. There is clearly more to it than that but very little available if you search for it. If I allow the "/" path to fall through my filter without modification then the full new unc path works but the oldone doesn't.
If needs be the users will have to remap their network places but if I can spend a couple of days on this and provide a resolution I would be much happier.
Any help would be much appreciated.
Regards
Simon