[ mailman-Patches-1188237 ] build correct links,
if webserver is forwarded
SourceForge.net
noreply at sourceforge.net
Fri Apr 22 20:26:54 CEST 2005
Patches item #1188237, was opened at 2005-04-22 18:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1188237&group_id=103
Category: Web UI
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: pille (zaarkov)
Assigned to: Nobody/Anonymous (nobody)
Summary: build correct links, if webserver is forwarded
Initial Comment:
in my setup there are two servers.
one ist the mail-server, the other one the webserver.
the mail-server uses an own apache on itself to display
the web UI,
but it is only accessible throu the webserver that
forwards connections to it (using mod_proxy's
ProxyPass-directive).
the links that are generated on sites like
http://.../listinfo that don't know anything about
virtual hosts refer to the HTTP_HOST environment
variable, which represents the mail-server and not the
webserver.
therefore this patch tries to evaluate the
HTTP_X_FORWARDED_HOST and use it if it exists.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1188237&group_id=103
More information about the Mailman-coders
mailing list