Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1443 closed defect (bug) (fixed)

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

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

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 21 years ago.
diff off of 1.6 trunk

Download all attachments as: .zip

Change History (7)

#1 @jrabbe
21 years ago

  • Version 1.2 → 1.5.1

#2 @shorty114
21 years ago

  • Resolution → invalid
  • Status new → 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
21 years ago

  • Resolution invalid
  • Status closed → reopened

@shorty114
21 years ago

diff off of 1.6 trunk

#4 @shorty114
21 years ago

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

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

To be fixed in 1.6?

#5 @matt
21 years ago

  • Resolution → fixed
  • Status new → closed

Already fixed.

#6 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.