Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#1443 closed defect (bug) (fixed)

$_SERVER['REMOTE_ADDR'] trouble on Mac OS X Server

Reported by: jrabbe's profile jrabbe Owned by: shorty114's profile shorty114
Milestone: Priority: normal
Severity: normal Version: 1.5.1
Component: General Keywords:
Focuses: Cc:

Description

The remote address environment variable $_SERVERREMOTE_ADDR? returns the ip address of the server for Mac OS X Server, if this is the case, use $_SERVERHTTP_PC_REMOTE_ADDR? instead.

Attachments (1)

osx-server-remote-addr.patch (739 bytes) - added by shorty114 17 years ago.
diff off of 1.6 trunk

Download all attachments as: .zip

Change History (7)

#1 @jrabbe
17 years ago

  • Version changed from 1.2 to 1.5.1

#2 @shorty114
17 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Sounds more like a Mac OS X Server problem to me.

Marking as invalid.

A suggestion if you wanted to do it, make a plugin that does $_SERVERREMOTE_ADDR? = $_SERVERHTTP_PC_REMOTE_ADDR?.

#3 @shorty114
17 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

@shorty114
17 years ago

diff off of 1.6 trunk

#4 @shorty114
17 years ago

  • Milestone set to 1.6
  • Owner changed from anonymous to shorty114
  • Status changed from reopened to new

Added a patch for vars.php to work around this.

To be fixed in 1.6?

#5 @matt
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Already fixed.

#6 @(none)
16 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.