ICal HowTo

From IthrynWiki

Jump to: navigation, search

Choosing a client program

PHP iCalendar works with any calendaring program which uses the ical protocol. Some examples are:

Setting up PHP iCalendar

Note: In order to perform these actions, you must have a shell account on ithryn. If you do not, ask an administrator to do them for you.

First, run the following commands:

mkdir -p ~/public_html/
cd ~/public_html/
tar -zxvf /var/www/phpicalendar.tgz
mv phpicalendar-0.9.3 cal 

Then create the file .htpasswd in the ~/public_html/cal directory.

note: the home directory location may be different than shown here

AuthType Basic
AuthName "Restricted"
AuthUserFile "/hosts/ithryn/home/<username>/.webdav.pw"
<LimitExcept GET POST OPTIONS> 
  Allow from all
  Require user <username>
</LimitExcept>

Finally, run the following command:

htpasswd -c ~/.webdav.pw <username>

This will prompt you for a password; do not use your unix or email password, since the webdav password will be transmitted in plain text.

Configuring your client program

Your client program should ask for a URL to publish to; enter: http://www.ithryn.net/~<username>/cal/calendars/ and use your username and password. For KOrganizer enter: https://www.ithryn.net/~<username>/cal/calendars/ for a secure connection.

Personal tools