aboutsummaryrefslogtreecommitdiff
path: root/radicale_infcloud/web/misc/readme_osx.txt
diff options
context:
space:
mode:
authorUnrud <unrud@openaliasbox.org>2017-06-04 17:16:11 +0200
committerUnrud <unrud@openaliasbox.org>2017-06-04 17:16:36 +0200
commit10eef51a0f086ad148928ba965c330599b4765cb (patch)
treed0283e55f1b4e66c49bf17461b5fee211b78768a /radicale_infcloud/web/misc/readme_osx.txt
parentUpdate license (diff)
downloadradicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.gz
radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.bz2
radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.zip
Update package for new web plugin interface
Diffstat (limited to 'radicale_infcloud/web/misc/readme_osx.txt')
-rw-r--r--radicale_infcloud/web/misc/readme_osx.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/radicale_infcloud/web/misc/readme_osx.txt b/radicale_infcloud/web/misc/readme_osx.txt
new file mode 100644
index 0000000..511e7f3
--- /dev/null
+++ b/radicale_infcloud/web/misc/readme_osx.txt
@@ -0,0 +1,40 @@
+OS X Server instructions:
+
+1. Calendarserver in OS X not sends headers required by web browsers to allow cross domain queries. To add these headers follow the steps below:
+ - copy the misc/calendarserver.diff into any directory on your server (for example: ~/Desktop)
+ Mac OS X Lion Server (for OS X Mountain Lion Server see below):
+ - if your server is already patched (previous version of patch) you must restore the original files from backup:
+ NOTE: if you have updated your server installation, you probably do not want to restore the old files (possible newer version of Calendarserver files)
+ sudo mv /usr/share/caldavd/lib/python/twext/web2/http_headers.py.orig /usr/share/caldavd/lib/python/twext/web2/http_headers.py
+ sudo mv /usr/share/caldavd/lib/python/twext/web2/server.py.orig /usr/share/caldavd/lib/python/twext/web2/server.py
+ - execute the following command in the Terminal:
+ sudo patch -b -d /usr/share/caldavd/lib/python/twext/web2 -i ~/Desktop/calendarserver.diff
+ OS X Mountain Lion Server:
+ - if your server is already patched (previous version of patch) you must restore the original files from backup:
+ NOTE: if you have updated your server installation, you probably do not want to restore the old files (possible newer version of Calendarserver files)
+ sudo mv /Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/twext/web2/http_headers.py.orig /Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/twext/web2/http_headers.py
+ sudo mv /Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/twext/web2/server.py.orig /Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/twext/web2/server.py
+ - execute the following command in the Terminal:
+ sudo patch -b -d /Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/twext/web2 -i ~/Desktop/calendarserver.diff
+
+2. The Digest authentication used in OS X Server is not supported directly by JavaScript in many browsers. It is recommended to disable it and enable the Basic authentication instead (or you may try the Digest auth with globalUseJqueryAuth=true in config.js). To disable the Digest authentication execute the following commands in Terminal:
+ sudo serveradmin settings calendar:Authentication:Basic:Enabled = yes
+ sudo serveradmin settings calendar:Authentication:Digest:Enabled = no
+
+3. Restart Calendarserver services:
+ sudo serveradmin stop addressbook
+ sudo serveradmin start addressbook
+ sudo serveradmin stop calendar
+ sudo serveradmin start calendar
+
+ WARNING: with Basic authentication your username and password are sent over the network in plain text.
+ !!! ALWAYS USE SSL with Basic authentication !!!
+
+
+Example config.js href values for OS X Server:
+ globalAccountSettings:
+ href: http://osxserver.com:8008/principals/users/USERNAME/ (INSECURE!)
+ href: https://osxserver.com:8443/principals/users/USERNAME/
+ globalNetworkCheckSettings:
+ href: http://osxserver.com:8008/principals/users/ (INSECURE!)
+ href: https://osxserver.com:8443/principals/users/
bgstack15