Apache 2 WebDAV success
Took me a little while to get everything working with apache 2.2.9, WebDAV and a self signed certificate. Here's some of the gotchas I ran into:
1) Make sure your self signed certificate has not expired, mine had expired so I generated another one using openssl. I was getting an untrusted security certificate on the iPhone app before this. I would test the URL with safari first, it seems to give more detail about a certificate being invalid, expired or untrusted, where iPhone app seems to signal all exceptions with untrusted certificate error. 2) Here's my WebDAV configuration from the apache httpd.conf file Alias /webdav /opt/WebDAV DavLockDB /usr/local/apache2/var/DavLock <Location /webdav> Dav On Order Allow,Deny Allow from all AuthType Basic AuthName WebDAV-Realm AuthUserFile /usr/webdav.passwd Require valid-user </Location> BrowserMatch ^OmniFocus redirect-carefully BrowserMatch ^CFNetwork redirect-carefully ### Make sure you create /usr/webdav.passwd using htpasswd ### Make sure you add the BrowserMatch lines to work around a 301 Moved Permanently issue. My iPhone was failing to sync before adding this. Hope this helps someone |
All times are GMT -8. The time now is 08:28 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.