[Chameleon-dev] [Bug 1518] New: Chameleon does not work when
forwarding from a host
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Wed Jul 5 10:36:44 EDT 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1518
Summary: Chameleon does not work when forwarding from a host
Product: Chameleon
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
In our situation our website is forwarded from another host, and the variable in
phpinfo is:
HTTP_X_FORWARDED_HOST test.intranet.rijkswaterstaat.nl, 145.50.148.45
Chameleon uses this full string (which is actually a comma separated list) for
the host:
if (isset($_SERVER['HTTP_X_FORWARDED_HOST']))
$aszParts['host'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
Ofcourse this won't work.
I have no idea why this piece of code is there, and I would recommend to remove
it from chameleon.php.
Any objections?
Our situation:
full url:
http://test.intranet.rijkswaterstaat.nl/apps/geoservices/dion/phpinfo.php
local url:
http://145.50.148.45:90/phpinfo.php
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list