WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19337, comment 13


Ignore:
Timestamp:
11/29/2011 11:48:08 PM (9 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19337, comment 13

    initial v1  
    11In your case, you need this in your wp-config.php file (probably best placed at the top of the file):
    22{{{
    3 $_SERVER['HTTP_REMOTE_ADDR'] = $_SERVER['HTTP_REMOTE_ADDR'];
     3$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_REMOTE_ADDR'];
    44$_SERVER['HTTPS'] = !empty($_SERVER['HTTP_HTTPS']) ? $_SERVER['HTTP_HTTPS'] : 0;
    55}}}