sfx settings.php needs to be updated

RESOLVED FIXED

Status

RESOLVED FIXED
11 years ago
5 years ago

People

(Reporter: cpollett, Assigned: oremj)

Tracking

Details

(Reporter)

Description

11 years ago
Hi oremj
(Reporter)

Comment 1

11 years ago
Hi oremj,

sites/default/settings.php for sfx needs to be updated and it is not in svn.

Basically, these lines:
if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER)) {
	$ip_array = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
	$_SERVER['REMOTE_ADDR'] = array_pop($ip_array);
}

need to be added to the end of the file. (both for stage and production). This will have no immediate effect but it will get some of Paul's stuff working and helping with Drupal 6 migration.
(Assignee)

Updated

11 years ago
Assignee: server-ops → oremj
(Assignee)

Comment 2

11 years ago
Already exists in production.  Added to stage.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.