# SOGo Groupware { $sogoStatus = $sogod{'status'} || "disabled"; $webmailStatus = $imp{'status'} || "disabled"; $style = $sogod{'WebServerResources'} || '/usr/lib/GNUstep/SOGo/WebServerResources/'; $style = '/usr/lib/GNUstep/SOGo/WebServerResources/' unless ( -d $style); $style =~ s#$#/# unless ( $style =~ m#/$# ); $OUT = ""; } ProxyPass /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo ProxyPassReverse /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo SetEnvIf Host (.*) REQUEST_HOST=$1 order deny,allow deny from all allow from all SSLRequireSSL on AddDefaultCharset UTF-8 RequestHeader set "x-webobjects-server-url" "https://%\{REQUEST_HOST\}e/SOGo" Alias /.woa/WebServerResources/ {"$style";} Alias /SOGo.woa/WebServerResources/ {"$style";} Alias /SOGo/WebServerResources/ {"$style";} AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2 AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all