summaryrefslogtreecommitdiff
path: root/sites
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-17 13:58:45 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-17 13:58:45 +0000
commit40417f5a6fccdbc1d8f12b3ba8bd917baa87ed8a (patch)
tree35cc34f6dc9db7314433c28f2b17b3ccfd51130b /sites
parent50040920bf0d1beebe36e333ab8426845a7e0f68 (diff)
downloadbrdo-40417f5a6fccdbc1d8f12b3ba8bd917baa87ed8a.tar.gz
brdo-40417f5a6fccdbc1d8f12b3ba8bd917baa87ed8a.tar.bz2
- Patch #258397 by John Morahan, Dries, R.Muilwijk, Bart Jansens, grendzy, Berdir: IP address identification not broad enough.
Diffstat (limited to 'sites')
-rw-r--r--sites/default/default.settings.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index f02f3f08d..d748aa4b5 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -284,8 +284,6 @@ ini_set('session.cookie_lifetime', 2000000);
# $conf['maintenance_theme'] = 'garland';
/**
- * reverse_proxy accepts a boolean value.
- *
* Enable this setting to determine the correct IP address of the remote
* client by examining information stored in the X-Forwarded-For headers.
* X-Forwarded-For headers are a standard mechanism for identifying client
@@ -302,6 +300,15 @@ ini_set('session.cookie_lifetime', 2000000);
# $conf['reverse_proxy'] = TRUE;
/**
+ * Set this value if your proxy server sends the client IP in a header other
+ * than X-Forwarded-For.
+ *
+ * The "X-Forwarded-For" header is a comma+space separated list of IP addresses,
+ * only the last one (the left-most) will be used.
+ */
+# $conf['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP';
+
+/**
* reverse_proxy accepts an array of IP addresses.
*
* Each element of this array is the IP address of any of your reverse