note 102926 added to reserved.variables
| From: | dusted at dusted dot dk | Date: | Tue, 15 Mar 2011 10:32:48 +0000 |
| Subject: | note 102926 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177883@lists.php.net to get a copy of this message | ||
I use HTTP_X_FORWARDED_FOR because my webserver is behind a reverse proxy.
This can be made secure:
Configure the reverse proxy to block this field, and override it correctly.
Configure the apache server to only accept incoming connections from the reverse proxy.
----
Server IP: 69.147.83.197
Probable Submitter: 188.177.228.225
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- https://master.php.net/note/edit/102926
Del: integrated -- https://master.php.net/note/delete/102926/integrated
Del: useless -- https://master.php.net/note/delete/102926/useless
Del: bad code -- https://master.php.net/note/delete/102926/bad+code
Del: spam -- https://master.php.net/note/delete/102926/spam
Del: non-english -- https://master.php.net/note/delete/102926/non-english
Del: in docs -- https://master.php.net/note/delete/102926/in+docs
Del: other reasons-- https://master.php.net/note/delete/102926
Reject -- https://master.php.net/note/reject/102926
Search -- https://master.php.net/manage/user-notes.php