9bfecc3973dc99bc5391594743d2dc9fcfe8819b
[tine20] / scripts / packaging / Univention / debian / etc / lighttpd.conf
1 # Alias for Tine 2.0 directory
2 server.modules += ( "mod_alias" )
3 server.modules += ( "mod_rewrite" )
4
5 alias.url += ( 
6     "/tine20" => "/usr/share/tine20",
7 )
8
9 url.rewrite-once = (
10     # activesync
11     "^/Microsoft-Server-ActiveSync\??(.*)$" => "/tine20/index.php?frontend=activesync&$1",
12     
13     # openid
14     "^/tine20/users/(.*)\??(.*)$"           => "/tine20/index.php?frontend=openid&username=$1&$2",
15     
16     # webdav
17     "^/tine20/addressbooks\??(.*)$"         => "/tine20/index.php?frontend=webdav&$1",
18     "^/tine20/calendars\??(.*)$"            => "/tine20/index.php?frontend=webdav&$1",
19     "^/tine20/webdav\??(.*)$"               => "/tine20/index.php?frontend=webdav&$1",
20     "^/tine20/principals\??(.*)$"           => "/tine20/index.php?frontend=webdav&$1"
21     "^/tine20/remote\.php\??(.*)$"          => "/tine20/index.php?frontend=webdav&$1"
22 )