SSLEngine On SSLCertificateFile /etc/ssl/certs/domain.crt SSLCertificateKeyFile /etc/ssl/private/domain.key ServerName eas.domain.com RedirectMatch ^/$ /SOGo Redirect /sogo /SOGo Alias /SOGo.woa/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ Alias /SOGo/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ AllowOverride None Order deny,allow Allow from all = 2.4> Require all granted ExpiresActive On ExpiresDefault "access plus 1 year" ProxyRequests Off SetEnv proxy-nokeepalive 1 ProxyPreserveHost On ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 ProxyPass /Microsoft-Server-ActiveSync \ http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \ retry=60 connectiontimeout=5 timeout=3600 RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "eas.domain.com" RequestHeader set "x-webobjects-server-url" "https://eas.domain.com" RequestHeader unset "x-webobjects-remote-user" RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" AddDefaultCharset UTF-8 Order allow,deny Allow from all RewriteEngine On RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301]