| From | Sent On | Attachments |
|---|---|---|
| Dennis | Jul 26, 2001 3:22 pm | |
| Tim Hunter | Jul 26, 2001 3:58 pm | |
| Dennis | Jul 26, 2001 5:24 pm | |
| Sam Varshavchik | Jul 26, 2001 5:50 pm | |
| Dennis | Jul 28, 2001 3:58 am | |
| Sam Varshavchik | Jul 28, 2001 7:15 am | |
| Bill Michell | Jul 28, 2001 1:18 pm | |
| Graham Leggett | Jul 30, 2001 3:41 am | |
| Graham Leggett | Jul 30, 2001 3:45 am | |
| Bill Michell | Jul 30, 2001 7:36 am | |
| Graham Leggett | Jul 30, 2001 7:52 am | |
| Dennis | Jul 30, 2001 8:18 am | |
| Bill Michell | Jul 30, 2001 8:39 am | |
| Roland Schneider | Jul 30, 2001 8:43 am | |
| Dennis | Jul 30, 2001 10:28 am | |
| Roland Schneider | Jul 30, 2001 2:52 pm | |
| Sam Varshavchik | Jul 30, 2001 3:15 pm | |
| Sam Varshavchik | Jul 30, 2001 3:16 pm | |
| Graham Leggett | Jul 30, 2001 3:38 pm | |
| Graham Leggett | Jul 30, 2001 3:41 pm | |
| Sam Varshavchik | Jul 30, 2001 3:53 pm | |
| Sam Varshavchik | Jul 30, 2001 3:54 pm | |
| Graham Leggett | Jul 30, 2001 4:21 pm | |
| Graham Leggett | Jul 30, 2001 4:23 pm | |
| Sam Varshavchik | Jul 30, 2001 4:36 pm | |
| Bill Michell | Jul 30, 2001 4:39 pm | |
| Dennis | Jul 30, 2001 5:06 pm |
| Subject: | [courier-users] Re: webmail non-relative urls | |
|---|---|---|
| From: | Sam Varshavchik (mrs...@courier-mta.com) | |
| Date: | Jul 30, 2001 4:36:28 pm | |
| List: | net.sourceforge.lists.courier-users | |
Graham Leggett writes:
Sam Varshavchik wrote:
If there was nothing to fix, it would work, would it not?
And it works correctly.
It doesn't - but then it's acedemic,
If HTTP_HOST is set to example.com, and SCRIPT_NAME is set to /cgi-bin/sqwebmail, then sqwebmail will correctly generate its own URL as http://example.com/cgi-bin/sqwebmail, in accordance with CGI 1.1, whose official definition you can find at http://hoohoo.ncsa.uiuc.edu/cgi/env.html, which is considered to be the authoritative reference for CGI 1.1
Specifically, note the definition of SCRIPT_NAME:
SCRIPT_NAME - A virtual path to the script being executed, used for self-referencing URLs.
Therefore, if a CGI application receives a SCRIPT_NAME that does not really refer to the script itself, then this particular CGI implementation is BROKEN by definition. A similar statement can also be extrapolated for HTTP_HOST as well.
sqwebmail works correctly as a CGI application. You're just trying to make it work in a non-CGI compatible environment.
-- Sam





