Hi Johnhere is a few samples that may work i assume you use Apache, i use the the first to if' my self they work fine for me
http://httpd.apache.org/docs/2.4/rewrite/remapping.html # Check domain name <If "%{HTTP_HOST} != 'nmail.advocap.org'"> Redirect "/" "https://nmail.advocap.org/SOGo/" </If> # Force HTTPs <If "%{SERVER_PROTOCOL} != 'HTTPS'"> Redirect "/" "https://nmail.advocap.org/SOGo/" Redirect "/webmail" "https://nmail.advocap.org/SOGo/" Redirect "/SOGo" "https://nmail.advocap.org/SOGo/" </If> Redirect "/" "https://nmail.advocap.org/SOGo/" Redirect "/webmail" "https://nmail.advocap.org/SOGo/" http://httpd.apache.org/docs/2.4/rewrite/remapping.html#moveddocroot RewriteEngine on RewriteRule "^/$" "https://nmail.advocap.org/SOGo/" [R] RewriteRule "^/webmail$" "https://nmail.advocap.org/SOGo/" [R] Regards Christian Jensen On 29-05-2015 21:09, John McMonagle wrote:
I'm setting up sogo from the debian jessie repository. As this is the only web service I'd like to redirect https://nmail.advocap.org to https://nmail.advocap.org/GOGo Redirect /webmail https://nmail.advocap.org/SOGo Works but Redirect / https://nmail.advocap.org/SOGo Does not. Any Suggestions? john
smime.p7s
Description: S/MIME Cryptographic Signature