mybb user ip problem
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: mybb user ip problem
Is this the forum in your signature?  If so, it looks possible that there may be a proxy, though I can't really tell.

GET /

Code:
1
2
3
4
5
6
7
8
9
10
HTTP/1.1 404 Not Found
Server: nginx admin
Date: Sat, 30 Apr 2011 08:31:35 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.9
Set-Cookie: mybb[lastactive]=1304152295; expires=Sun, 29-Apr-2012 08:31:35 GMT; path=/; domain=.techedze.com
Content-Encoding: gzip


GET /jscripts/popup_menu.js?ver=1600

Code:
1
2
3
4
5
6
7
8
9
10
11
HTTP/1.1 200 OK
Server: nginx admin
Date: Sat, 30 Apr 2011 08:31:37 GMT
Content-Type: application/x-javascript
Last-Modified: Sun, 17 Apr 2011 22:06:04 GMT
Connection: keep-alive
Vary: Accept-Encoding
Expires: Sat, 07 May 2011 08:31:37 GMT
Cache-Control: max-age=604800
X-Cache: HIT from Backend
Content-Length: 2755


IDK what "X-Cache" there refers to, but might be a hint.

Ask your host for further details on whether they're using a proxy to handle PHP/CGI requests, and ask them what header contains the "real" IP.  From memory, nginx, by default, uses X-Real-IP I think, so if your host is using that, you'd edit inc/init.php, and put, after "<?php":

PHP Code:
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_REAL_IP'];


I can't really give you any more info - you'll need to question your host for their setup and how to fix.


My Blog
04-30-2011 06:41 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
mybb user ip problem - techu - 04-30-2011, 02:19 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 03:23 PM
RE: mybb user ip problem - techu - 04-30-2011, 05:32 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011 06:41 PM
RE: mybb user ip problem - techu - 04-30-2011, 07:10 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 10:21 PM
RE: mybb user ip problem - techu - 04-30-2011, 10:41 PM

 Standard Tools
Forum Jump: