Mozilla Calendar and WebDAV

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Alexander
Date:  
To: plug-discuss
Subject: Mozilla Calendar and WebDAV
Here's something cool I setup that I thought some of you might find
useful. I'm using the Calendar plugin for Firefox:

http://www.mozilla.org/projects/calendar/download.html#download_firefox

Then I configured Apache 2 to use WebDAV so I could access my calendar
from anywhere.

Uncomment these lines in httpd.conf:

<IfModule mod_dav_fs.c>
    DAVLockDB /var/lib/dav/lockdb
</IfModule>


Make sure /var/lib/dav and /var/lib/dav/lockdb exist and have
read/write by the Apache user.

Add the following lines to httpd.conf:

<Directory "/www/mydomain/ical/">
AuthType Digest
AuthName iCal
AuthDigestFile "/etc/httpd/conf/dav.digest.passwd"
require valid-user
DAV On
</Directory>

Change the Directory path to wherever you want to store your ical files.
Change the AuthDigestFile path to wherever you want to store user/passwords.

Next, create the password file for making changes to the ical files:

htdigest -c dav.digest.passwd iCal someusernamehere

Restart Apache.

In Calendar, create a new calendar file, point the Remote Server URL to:

http://mydomain.com/ical/foo.ics

Replace mydomain, the path, and the calendar file name with your
values. Check the "Automatically publish your changes..." checkbox.

You'll be prompted for the login/pass that you created and you should
get an error about the file not existing. Under the Calendar tab,
right-click your calendar name and select "Publish entire calendar".
It should succeed. Now you can start adding events and they'll
automatically be uploaded to the server.

From another location (or from another Calendar install, such as under
Thunderbird), just go to "File -> Subscribe to remote calendar" and
enter the full path to the iCal file on your server. Now you can
access your calendar from anywhere.
~M

--
Get Firefox!
http://getfirefox.com/
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss