## SSL-Virtualhost (Cluster-Rewrite) RewriteEngine On RewriteCond %{HTTP_COOKIE} !BALANCEME RewriteRule .* - [CO=BALANCEME:balancer.server1:zarafa.com:60] RewriteCond %{HTTP_COOKIE} BALANCEME=(balancer.server1) RewriteRule .* - [CO=BALANCEME:balancer.server1:zarafa.com:60] Include /etc/apache2/vhosts.d/00-zarafa-cookie-failover.inc ProxyPass / balancer://cluster/ lbmethod=byrequests stickysession=BALANCEME ProxyPassReverse / balancer://cluster/ BalancerMember http://server1.zarafa.com route=server1 BalancerMember http://server2.zarafa.com route=server2 ## "Zarafa-interner" non-SSL Virtualhost (Webaccess) # Zarafa WebAccess Alias /webaccess /usr/share/zarafa-webaccess DirectoryIndex index.php Options -Indexes +FollowSymLinks AllowOverride Options # Zarafa z-push Alias /Microsoft-Server-ActiveSync /usr/share/z-push/index.php Alias /z-push /usr/share/z-push/index.php Options -Indexes AllowOverride none php_flag magic_quotes_gpc off php_flag register_globals off php_flag magic_quotes_runtime off php_flag short_open_tag on