General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] SOGo with several domains


Chronological Thread 
  • From: "Odhiambo Washington" ( ) < >
  • To:
  • Subject: [SOGo] SOGo with several domains
  • Date: Sun, 16 Jun 2019 16:22:17 +0300
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 58CBC1DE517E

In my apache config for SOGo, I have below:

# Redirect / to /SOGo

# Enable to use Microsoft ActiveSync support
# Note that you MUST have many sogod workers to use ActiveSync.
# See the SOGo Installation and Configuration guide for more details.
#
ProxyPass /Microsoft-Server-ActiveSync \
 retry=60 connectiontimeout=5 timeout=360

ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0

## Adjust the following to your configuration
## and make sure to enable the headers module
<IfModule headers_module>
  RequestHeader set "x-webobjects-server-port" "443"
  SetEnvIf Host (.*) HTTP_HOST=$1
  RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
  RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e" env=HTTP_HOST
  #RequestHeader set "x-webobjects-server-name" "webmail.crownkenya.com"
  #RequestHeader set "x-webobjects-server-url" "https://webmail.crownkenya.com"
  AddDefaultCharset UTF-8

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
  RequestHeader unset "x-webobjects-remote-user"
# RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" env=REMOTE_USER

  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"


My questions is about this: RedirectMatch ^/$ https://webmail.crownkenya.com/SOGo

How do I make that non-domain specific?
Can I do 

RedirectMatch ^/$  "https://%{HTTP_HOST}e" env=HTTP_HOST/SOGo

:-)



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)


  • [SOGo] SOGo with several domains, Odhiambo Washington, 06/16/2019

Archive powered by MHonArc 2.6.18.

Top of page