atom feed27 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: webmail non-r...
FromSent OnAttachments
DennisJul 26, 2001 3:22 pm 
Tim HunterJul 26, 2001 3:58 pm 
DennisJul 26, 2001 5:24 pm 
Sam VarshavchikJul 26, 2001 5:50 pm 
DennisJul 28, 2001 3:58 am 
Sam VarshavchikJul 28, 2001 7:15 am 
Bill MichellJul 28, 2001 1:18 pm 
Graham LeggettJul 30, 2001 3:41 am 
Graham LeggettJul 30, 2001 3:45 am 
Bill MichellJul 30, 2001 7:36 am 
Graham LeggettJul 30, 2001 7:52 am 
DennisJul 30, 2001 8:18 am 
Bill MichellJul 30, 2001 8:39 am 
Roland SchneiderJul 30, 2001 8:43 am 
DennisJul 30, 2001 10:28 am 
Roland SchneiderJul 30, 2001 2:52 pm 
Sam VarshavchikJul 30, 2001 3:15 pm 
Sam VarshavchikJul 30, 2001 3:16 pm 
Graham LeggettJul 30, 2001 3:38 pm 
Graham LeggettJul 30, 2001 3:41 pm 
Sam VarshavchikJul 30, 2001 3:53 pm 
Sam VarshavchikJul 30, 2001 3:54 pm 
Graham LeggettJul 30, 2001 4:21 pm 
Graham LeggettJul 30, 2001 4:23 pm 
Sam VarshavchikJul 30, 2001 4:36 pm 
Bill MichellJul 30, 2001 4:39 pm 
DennisJul 30, 2001 5:06 pm 
Subject:Re: [courier-users] Re: webmail non-relative urls
From:Roland Schneider (rol@serv.ch)
Date:Jul 30, 2001 8:43:24 am
List:net.sourceforge.lists.courier-users

--Graham Leggett wrote on 30.07.2001 12:42 +0200:

Sam Varshavchik wrote:

Proxies, by definition should be completely transparent. Software should not be aware that a proxy is involved in the middle (except, perhaps, for a simple proxy on/off setting).

Reverse proxies by definition hide URLs behind other URLs.

Is there is reason why webmail always outputs absolute URLs?

Yes. Various bugs in some browsers with relative HTTP redirect URLs.

And dont forget RFC2068 :)

Location = "Location" ":" absoluteURI

The absolute URL should be configurable at runtime, not hardcoded. This will fix the problem.

If you have 'UseCanonicalName On' in httpd.conf (default) then SQWebmail uses the ServerName there for self-referencing url's.

If you set 'UseCanonicalName Off' then SQWebmail (or any other CGI) will use the HTTP-Host-header as supplied in the request.

The simple solution will be 'UseCanonicalName Off' in httpd.conf, or set the ServerName to the hostname of the reverse-proxy and 'UseCanonicalName On' for compatibility with broken browsers or if your reverse-proxy adds a new host-header (like mod_proxy...)

Both servers have to use either plain HTTP or SSL.

Roland