[Seaside-dev] Seaside 2.8 WAUrl>>takeParametersFromRequest:
X-Forwarded-Host
Lukas Renggli
renggli at gmail.com
Tue Mar 25 06:26:11 UTC 2008
> It came to our attention that the #takeParametersFromRequest: method,
> which rightly grabs the host, doesn't grab x-forwarded-host when it is
> available. That means that the URLs put out by the anchor tag and other
> such things will point to the internal address of the server instead of
> the external address.
Are you sure to Apache 2 and the setting "ProxyPreserveHosts On" ?
> On a slightly different note - why do all the urls come with a
> hostname/port anyway? .. it's bad form to put out all this repeated
> information for every url.
Because redirects for example require a full URL.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside-dev
mailing list