How to configure CalDAV in an existing IIS environment that is running Webmail
MDaemon versions 15.5 and above contain support of the CalDAV protocol. This article will run though the steps needed to run CalDAV in an existing IIS environment that is currently running Webmail.
This setup requires the URL Rewrite to have been installed to IIS.
Note: The setup of CalDAV under IIS is NOT supported by MDaemon technical support. Those who choose to run any MDaemon related protocol or service under IIS must be aware of all security issues and ramifications of running any applications under IIS. It is recommended that all patches and updates be installed on IIS before the installation of MDWebDAV.dll as an ISAPI.
- Launch IIS
- Select the Webmail (WorldClient) site
- Double click URL Rewrite
- Select Add Rule(s)...
- Select Blank rule
- Click OK
- Fill in the following information:
Right click on the WorldClient site
Select Add Application
For Alias use: WebDAV
For Physical Path: \MDaemon\WebDav
Select the new WebDAV application
Double click on Handler Mappings
Select Add Script Map
For Request path use wildcard: *
For Executable use: C:\MDaemon\WebDAV\MDWebDAV.dll
- Name: MDWebDAV.dll
- Requested URL: Matches the Pattern
- Using: Exact Match
- Pattern: .well-known/caldav
- Action Type: Redirect
- Redirect URL: webdav/caldav
- Redirect Type: Temporary (307)
For Name use: MDWebDAV
Select button Request Restrictions
Select the Access tab
Select YES to allow ISAPI extension
- Verify the path is correct if MDaemon was installed in another directory path.