Index: vars.php
===================================================================
--- vars.php	(revision 2902)
+++ vars.php	(working copy)
@@ -37,6 +37,12 @@
 $is_apache = strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ? 1 : 0;
 $is_IIS = strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') ? 1 : 0;
 
+// On OS X Server, $_SERVER['REMOTE_ADDR'] is the server's address. Workaround this 
+// by using $_SERVER['HTTP_PC_REMOTE_ADDR'], which *is* the remote address.
+if (isset($_SERVER['HTTP_PC_REMOTE_ADDR'])) { // it is osx server
+	$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_PC_REMOTE_ADDR'];
+}
+
 // if the config file does not provide the smilies array, let's define it here
 if (!isset($wpsmiliestrans)) {
 	$wpsmiliestrans = array(
