<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Outlook 2007 WebDAV Not Publishing</title> 
  <pubDate>Sun, 05 Apr 2026 10:08:21 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8356</link> 
  <atom:link rel="self" type="application/rss+xml" title="Outlook 2007 WebDAV Not Publishing" href="https://bugs.horde.org/ticket/8356/rss" /> 
  <description>Outlook 2007 WebDAV Not Publishing</description> 
 
   
   
  <item> 
   <title>Outlook 2007 WebDAV doesn&#039;t work, as detailed in my mailing </title> 
   <description>Outlook 2007 WebDAV doesn&#039;t work, as detailed in my mailing list post here:



http://lists.horde.org/archives/horde/Week-of-Mon-20090615/037725.html



The upshot is that Horde returns a 500 Internal Server Error with no useful debug and Outlook 2007 likewise displays a &quot;Server error&quot; dialogue box.



Continuing my debugging I&#039;ve found a couple of interesting things of note.  I&#039;d post tcpdumps of the data exchange, but I do not wish to expose my password since I had SSL disabled to get a clean dump.  Here&#039;s what I found out:



In the PUT function of lib/Horde/webdav.php, Horde sees these as the values of the important variables when hit by Outlook:

path: kronolith/username/username_Calendar.ics

content_type: application/octet-stream

content: [null]



By contrast, Lightning and other working clients:

path: kronolith/username/username.ics

content_type: text/calendar

content: [iCal file]



The path that ends in x_Calendar.ics seems unaffected by URL rewrite rules in Apache.



I&#039;ve got a couple of clues/hunches at this point to get it working.  Keep in mind this is simply to get Outlook working by any means possible, it may not be desirable for Horde to adopt these measures:

1. If the user-agent is Outlook, preg_replace $path s/_Calendar.ics$/.ics/

2. Hard-code an entry into $list in webdav.php&#039;s _list function to return a username_Calendar.ics entry</description> 
   <pubDate>Wed, 17 Jun 2009 20:23:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8356#t54631</link> 
  </item> 
   
  <item> 
   <title>&gt; Outlook 2007 WebDAV doesn&#039;t work, as detailed in my mailin</title> 
   <description>&gt; Outlook 2007 WebDAV doesn&#039;t work, as detailed in my mailing list post here:



Since when does Outlook support WebDAV? How did you setup Outlook?



&gt; The upshot is that Horde returns a 500 Internal Server Error with no 

&gt; useful debug and Outlook 2007 likewise displays a &quot;Server error&quot; 

&gt; dialogue box.



Apache is probably returning that error, not Horde. Did you check the web server logs?



&gt; In the PUT function of lib/Horde/webdav.php, Horde sees these as the 

&gt; values of the important variables when hit by Outlook:

&gt; path: kronolith/username/username_Calendar.ics

&gt; content_type: application/octet-stream

&gt; content: [null]



Yeah, great. :) How is this supposed to work if Outlook is sending no content, and that to wrong address?



&gt; The path that ends in x_Calendar.ics seems unaffected by URL rewrite 

&gt; rules in Apache.



Of course, because it&#039;s wrong.



&gt; I&#039;ve got a couple of clues/hunches at this point to get it working.  

&gt; Keep in mind this is simply to get Outlook working by any means 

&gt; possible, it may not be desirable for Horde to adopt these measures:

&gt; 1. If the user-agent is Outlook, preg_replace $path s/_Calendar.ics$/.ics/



Ugly, but could be a workaround.



&gt; 2. Hard-code an entry into $list in webdav.php&#039;s _list function to 

&gt; return a username_Calendar.ics entry



Even uglier. What if Outlook at any point in time gets fixed suddenly? What the user agent of Outlook anyway? And finally, how would that fix Outlook not sending any content?</description> 
   <pubDate>Thu, 18 Jun 2009 15:42:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8356#t54636</link> 
  </item> 
   
  <item> 
   <title>&gt; Since when does Outlook support WebDAV? How did you setup </title> 
   <description>&gt; Since when does Outlook support WebDAV? How did you setup Outlook?



Outlook 2007 shipped with WebDAV support.  Go to the All Folders view, right click on Calendar, &quot;Publish to Internet&quot;, &quot;Publish to WebDAV Server.&quot;  It&#039;ll even do it automatically when you make updates to your calendar.



&gt;

&gt; Apache is probably returning that error, not Horde. Did you check the 

&gt; web server logs?



Horde itself states &quot;500 Internal Server Error&quot; in its own logs.   Around line 157 of &quot;/var/www/html/horde-prod/lib/Horde/RPC/webdav.php&quot;.



&gt;

&gt; Yeah, great. :) How is this supposed to work if Outlook is sending no 

&gt; content, and that to wrong address?



Well, that&#039;s the problem I&#039;m trying to work around - people can get Outlook uploading to iPHP Calendar via WebDAV and to Apache 2 WebDAV folders, so while the problem is Outlook, I don&#039;t think the solution/workaround lies in Outlook.



&gt; Of course, because it&#039;s wrong.



Yes, it is wrong, which is why I&#039;ve been trying to fix it with Apache rewrite rules to be correct. (renaming username/My_Calendar.ics to username/username.ics using a regex)  However, Horde doesn&#039;t seem to pick up on the rewrite, even though the rewrite is definitely applied according to Apache logs. (perhaps Horde is relying on what Outlook is sending as the URL?  Outlook doesn&#039;t follow redirects for WebDAV, only rewrites)



&gt;&gt; 1. If the user-agent is Outlook, preg_replace $path s/_Calendar.ics$/.ics/

&gt;

&gt; Ugly, but could be a workaround.

&gt;

&gt;&gt; 2. Hard-code an entry into $list in webdav.php&#039;s _list function to

&gt;&gt; return a username_Calendar.ics entry

&gt;

&gt; Even uglier. What if Outlook at any point in time gets fixed 

&gt; suddenly?



If Outlook gets fixed at any point, we can rely on many users not updating. :)



&gt; What the user agent of Outlook anyway?



On my Windows XP VM, the user-agent is pretty distinct: Microsoft Office/12.0 (Windows NT 5.1; Microsoft Office Outlook 12.0.6425; Pro)



&gt; And finally, how would that fix Outlook not sending any content?



I&#039;m just wondering if Outlook isn&#039;t sending anything, possibly because of the feedback it&#039;s getting from Horde when Outlook does its PROPFIND.</description> 
   <pubDate>Fri, 19 Jun 2009 18:21:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8356#t54645</link> 
  </item> 
   
  <item> 
   <title>Stalling unless/until someone can reproduce this with curren</title> 
   <description>Stalling unless/until someone can reproduce this with current H5 code.</description> 
   <pubDate>Thu, 18 Oct 2012 04:44:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8356#t73786</link> 
  </item> 
   
  <item> 
   <title>You know it would be really great if Horde could be updated </title> 
   <description>You know it would be really great if Horde could be updated from Outlook via WebDAV. I appreciate that Outlook may not be publishing it correctly, but is there any chance someone could swallow their pride and help all those Outlook users out there who would love to use their Horde calendar instead but can&#039;t keep the two in synch?</description> 
   <pubDate>Tue, 04 Oct 2016 10:42:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8356#t91126</link> 
  </item> 
   
  <item> 
   <title>Recent Outlook versions can synchronize with Horde via Activ</title> 
   <description>Recent Outlook versions can synchronize with Horde via ActiveSync/EAS.</description> 
   <pubDate>Tue, 04 Oct 2016 12:25:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8356#t91127</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
