1、 在C:\Program Files\Apache Group\Apache2\conf目录下新规icalender.conf文件,
文件内容为以下:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
DAVLockDB "D:/myServers/Apache2/logs/DavLock"
Alias /icalender "D:/myServers/website/iCalendar"
<Directory "D:/myServers/website/iCalendar">
Dav On
AuthType Basic
AuthName "DAV"
AuthUserFile d:/myServers/Apache2/pwds/icalendar
Require valid-user
</Directory>
2、 在C:\Program Files\Apache Group\Apache2\conf的文末,添加如下内容:
#iCalendar
Include conf/iCalendar.conf
3、 按照步骤1中的文件内容手动创建文件夹:
D:/myServers/Apache2/logs/DavLock 和D:/myServers/website/iCalendar
4、 创建key文件
①CMD启动命令行模式
②进入C:\Program Files\Apache Group\Apache2\bin目录
③执行 htpasswd -c d:/myServers/Apache2/pwds/icalendar username 回车
④输入password
5、重启Apache服务
6、system_config.xml配置:
<InfomityConfig>
<InfomityLogin>true</InfomityLogin>
<InfomityURL>https://portal.infomity.net/infomity.cgi?__mode=login</InfomityURL>
<InfomityFacilityCode>username</InfomityFacilityCode>
<InfomityPassword>password</InfomityPassword>
<DataBankConfig>
<DataBankAdress>http://172.18.68.XXX/icalender/</DataBankAdress>
</DataBankConfig>
</InfomityConfig>