Howto calendar with caldav and android

This small howto is about  a linux calendar caldav server which  I'm using with an Android device, the Lightning Thunderbird/Seamonkey calendar plugin and the webmail Roundcube.

Linux caldav server.

For the caldav server  a lightweight python script named  Radicale can be used.
Save the basic config in ~/.config/radicale/config and change the config to your needs and start radicale. I left authentication to none (type = None), because i allready have a webserver running.
For a connecting to the outside world Apache webserver as an reverse proxy, forexample:

<VirtualHost *:80>
ServerAlias calendar
ServerAdmin webmaster
DocumentRoot /home/calendar/www
ErrorLog /home/calendar/logs/calendar_error_log
TransferLog /home/calendar/logs/calendar_access_log
<Directory "/home/calendar/www">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
<Location />
    Order allow,deny
    AuthType Basic
    AuthName "Access to calendar"
    AuthUserFile /home/calendar/.htpasswd
   Require valid-user
    Satisfy any
       ProxyPass / http://localhost:5232/
       ProxyPassReverse / http://localhost:5232/


Android calendar.

The default calendar app doesn't support caldav, Google wish you to use there calendar. Caldav-Sync app supports caldav. CalDAV-Sync is a CalDAV client for Android to synchronize events and tasks. Due to its implementation as sync adapter it integrates seamlessly with the native calendar app and widgets.

Lightning Thunderbird/Seamonkey calendar plugin

This plugin also supports caldav, connect to the remote calendar by creating a new calendar:
- Choose 'On the network'
- Select CalDAV, forexample Location:

Webmail and calendar.

Roundcube  webmail, Calendar in Roundcube  is a plugin. The plugins can be found at:
Download the Roundcube plugin bundle from Unzip the bundle in the plugin directory of your Roundcube install directory. Don't forget to run the database script in de SQL direcory of the calendar plugin and rename the to
Activate the plugin by adding calendar in $rcmail_config['plugins'] = array('calendar');
Finally change the user calendar personal settings:

Provider CalDAV
Username john
Password ******
CalDAV Url
Authentication Method   Basic