\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Ical HowTo using Sunbird or Thunderbird/Lightning with working free/busy}
\section{\textit{Note: This is not an official Horde document. There is no write support in Horde 3.1/Kronolith 2.1}}
This document is intended to help administrators configure various parts of horde to link a calendar application with Kronolith. Please feel free to fill in any gaps or to clarify any existing information presented here.


\noindent\rule{\textwidth}{1pt}
\section{Document Standards}
In this document, we assume the following:

\begin{itemize}
\item The latest stable version of Horde and Kronolith.


\item A working version of Horde and Kronolith.


\item A working version of Sunbird or Thunderbird/Lightning extension.


\end{itemize}

\noindent\rule{\textwidth}{1pt}
\section{On debian}
\begin{itemize}
\item Install php pear package as follow:


\end{itemize}
<pre><code>
apt-get install php4-pear
</code></pre>
You can also use php5 package.

\section{HTTP\_WebDAV\_Server}
Then to make sure pear is working:

<pre><code>
pear config-show
</code></pre>
You now need to install the pear HTTP\_WebDAV\_Server package

<pre><code>
pear install HTTP\_WebDAV\_Server-beta
</code></pre>
\begin{itemize}
\item Adjust your apache config if necessary.<br />
We found that Sunbird was taking roughly 20 seconds to download the ics file over webdav and that even downloading the file in a browser had the same lag.  On investigation it turned out Kronolith was taking about 3 seconds to generate the file and Sunbird was waiting 15 seconds for the connection to close after downloading the file.  Turning off <a href="https://wiki.horde.org/KeepAlive">KeepAlive</a> in apache.conf (or setting it to a very small value) solved this issue.  The default is 15 seconds.


\end{itemize}
\section{Test it}
Launch your Sunbird or Lightning application.

\begin{itemize}
\item Go to calendar


\item New ->


\item On the Network -> iCalendar<br />
\texttt{https://yourhost/yourhordepath/rpc.php/kronolith/YOUR-HORDE-USERNAME.ics}


\end{itemize}
15/05/08: Starting with Horde Webmail 1.1 RC4, and as pointed out in <a href="http://thread.gmane.org/gmane.comp.horde.kronolith/4555">that thread</a>, this URL has to be changed like below:<br />
\texttt{https://yourhost/yourhordepath/rpc.php/kronolith/YOUR-HORDE-USERNAME/YOUR-HORDE-USERNAME.ics}

It should ask you for user and password.

Then you should see you calendar and be able to edit events in both Sunbird/Lightning and Kronolith.

I can read my calendar perfectly but not publish. My apache returns a 404 or 403.

Then it should work according to this:<br />
<a href="http://lists.horde.org/archives/kronolith/Week-of-Mon-20060130/005859.html">http://lists.horde.org/archives/kronolith/Week-of-Mon-20060130/005859.html</a>

Check also, whether the Apache config allows the PUT method. You should have something similar to

<pre><code>
        <Directory /home/www/cal>
          <LimitExcept GET POST OPTIONS PROPFIND PUT>
            Order deny,allow
            deny from all
          </LimitExcept>
        </Directory> 
</code></pre>
where /home/www/cal would be the directory under which horde is installed, in your Apache config.

\section{Free/busy}
Free/busy Lightning extension is able to correctly read Horde freebusy file.

\section{Notes}
\begin{itemize}
\item 26/03/08: With Lightning v0.7 and Horde Webmail 1.1RC3, reading and publishing works correctly with a remote calendar as described on this page.


\item This does work very nicely with sunbird 0.7 and kronolith 2.2, you must select ical (not webdav) but you do get two way editing.


\item 2011-11-23: Using SME Server 8b6, with smeserver-kronolith and kronolith-h3 installed (kronolith v2.3), and the pear additions from above, works fine with Thunderbird 8.0 and Lightning 1.0 -- paul dot warren at wollemisystems dot com


\end{itemize}
2012-06-07

I have found the Solution!

this link has helped me <a href="http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-July/214620.html">http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-July/214620.html</a>

you have to install the pear-HTTP\_WebDAV\_Server

but it installed in the /usr/share/php dir

you must copy following files to your /usr/share/psa-pear folder, then you can write in your calendar form thunderbird or outlook

/HTTP/WebDAV/  to your psa-pear dir  (i think you must copy more than this dir) but it works

yourserer.com/rpc.php/kronolith/<yourid>/<yourid>.ics

Thunderbird ask you for a webdav authentification

Have fun


\noindent\rule{\textwidth}{1pt}
To get better Performance with more Than 20 Calendars, dturn <a href="https://wiki.horde.org/KeepAlive">KeepAlive</a> Off on your Apache server

so the loading on Mailclient should be much faster

\end{document}
