[ mailman-Bugs-896524 ] Explicit (non-80) port sometimes missing
from URL
SourceForge.net
noreply at sourceforge.net
Mon Mar 1 10:17:36 EST 2004
Bugs item #896524, was opened at 2004-02-13 09:39
Message generated for change (Comment added) made by unionchurch
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=896524&group_id=103
Category: Web/CGI
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul Aitkenhead (unionchurch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Explicit (non-80) port sometimes missing from URL
Initial Comment:
I run my Mailman admin web site on a non-standard port
which I stated back at build time using the configure
tool. It works correctly but there is at least one link from
which the port number is missing from the URL. It is the
link for which the hyertext says "Overview of all
myserver.mydomain.com lists".
----------------------------------------------------------------------
>Comment By: Paul Aitkenhead (unionchurch)
Date: 2004-03-01 10:17
Message:
Logged In: YES
user_id=974801
OK, I have learned more about this. The behavior comes
about when generating the "Overvew" link as I mentioned
when I first logged the bug report. The hypertest link is made
by calling Mailman/Utils/ScriptURL(), which calls
Mailman/Utils.py/get_domain(), which looks for an OS
environment variable SERVER_PORT. The routine is probably
relying on Apache to set SERVER_PORT as an enviornment
variable in the cgi-bin execution process and it s not
happening. Wouldn't it be better to just rely on
DEFAULT_URL_HOST in Defaults.py ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=896524&group_id=103
More information about the Mailman-coders
mailing list