In my apache config for SOGo, I have below: # Redirect / to /SOGo *RedirectMatch ^/$ https://webmail.crownkenya.com/SOGo <https://webmail.crownkenya.com/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 \ http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \ retry=60 connectiontimeout=5 timeout=360 ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 <Proxy http://127.0.0.1:20000/SOGo> ## 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 <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 ^[^#] :-) -- [email protected] https://inverse.ca/sogo/lists
