Forum

Tine20 with CardDav/CalDav on hiawatha

Barde
9 June 2014, 10:33
Hallo,

I'm trying get the Tine20 [www.tine20.org] running in Hiawatha. The Tine20 Serve it self runs find, bad I can't get access to the CardDav/CalDav Server from an client. I have problem translating the following .htaccess entries...
RewriteEngine on

# ActiveSync
RewriteRule ^Microsoft-Server-ActiveSync index.php?frontend=activesync [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]

# OpenID
RewriteRule ^users/(.*) index.php?frontend=openid&username=$1 [L,QSA]

# WebDAV / CalDAV / CardDAV
RewriteCond %{REQUEST_METHOD} !^(GET|POST)$
RewriteRule ^$ index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]

RewriteRule ^addressbooks index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^calendars index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^webdav index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^principals index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^remote.php index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]


I added the following lines, but it don't work...
URLToolkit {
ToolkitID = Tine
Match ^$ Rewrite /index.php?frontend=webdav
Match ^addressbooks Rewrite /index.php?frontend=webdav
Match ^calendars Rewrite /index.php?frontend=webdav
Match ^principals Rewrite /index.php?frontend=webdav
Match ^webdav Rewrite /index.php?frontend=webdav
Match /Microsoft-Server-ActiveSync(.*) Rewrite /index.php?frontend=activesync
}


thanks
Barde


Hiawatha version: 9.6
Operating System: Suse 13.1
Hugo Leisink
9 June 2014, 10:42
Try this one:
URLToolkit {
ToolkitID = Tine
Match ^/($|addressbooks|calendars|principals|webdav) Rewrite /index.php?frontend=webdav
Match /Microsoft-Server-ActiveSync(.*) Rewrite /index.php?frontend=activesync
}
Barde
9 June 2014, 12:05
Thanks, it seems the rewrite is working, at least the tine20 log is telling me that.... the client still don't work. But I Think that's another Problem.

This topic has been closed.