Welcome! Log In Create A New Profile

Advanced

tine20 how to translate apache rewrites?

Posted by Jiff 
tine20 how to translate apache rewrites?
April 09, 2013 07:33PM
Hi forumers,

I'm trying to get tine20 running under nginx but I don't know how to translate apache rewrites:

# ActiveSync
RewriteRule ^Microsoft-Server-ActiveSync index.php?frontend=activesync [E=REMOTE_USER:%{HTTP:Authorization},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]

I have no idea for lines above.


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

For this last line, Is this correct? (root is /usr/share, tine20 is /usr/share/tine20)
rewrite ^/tine20/users/(.*) index.php?frontend=openid&username=$1;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 78
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready