[wp-trac] Re: [WordPress Trac] #4412: Get real IP address for proxy-passed WordPress installations

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 13 22:12:14 GMT 2007


#4412: Get real IP address for proxy-passed WordPress installations
----------------------------+-----------------------------------------------
 Reporter:  RuddO           |        Owner:  anonymous
     Type:  enhancement     |       Status:  closed   
 Priority:  normal          |    Milestone:           
Component:  Administration  |      Version:  2.3      
 Severity:  normal          |   Resolution:  wontfix  
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Changes (by markjaquith):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  2.4 =>

Comment:

 I really don't think this is something to be done on the application
 level.  If you're running in front of a proxy, it it your job to set up
 your PHP installation to put the correct address into
 {{{$_SERVER['REMOTE_ADDR']}}}

 You can do this via a PHP prepend, as set in php.ini

 {{{auto_prepend_file}}}

 http://www.php.net/ini.core

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4412#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list