Welcome to Geeklog, Anonymous Saturday, December 28 2024 @ 06:25 pm EST
Geeklog Forums
Ip Addres Problem
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
I noticed that the polls plugin and CAPTCHA only see the server ip address as oposed to a users address.
so for instance a user enters an incorrect CAPTCH String....
Log File: captcha.log
Wed 18 Apr 11:58:02 2007 - Log File Cleared
Mon 23 Apr 11:22:09 2007 - CAPTCHA: An invalid CAPTCHA string was entered in registration - IP Address: 192.168.1.89
Sun 13 May 19:22:46 2007 - CAPTCHA: An invalid CAPTCHA string was entered in registration - IP Address: 192.168.1.89
and the serer ip is recorded NOT THE USERS IP ???
any idea what is happening here ???
so for instance a user enters an incorrect CAPTCH String....
Log File: captcha.log
Wed 18 Apr 11:58:02 2007 - Log File Cleared
Mon 23 Apr 11:22:09 2007 - CAPTCHA: An invalid CAPTCHA string was entered in registration - IP Address: 192.168.1.89
Sun 13 May 19:22:46 2007 - CAPTCHA: An invalid CAPTCHA string was entered in registration - IP Address: 192.168.1.89
and the serer ip is recorded NOT THE USERS IP ???
any idea what is happening here ???
5
10
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Are you sure your server isn't using some kind of proxy that might affect this? Create a <?php phpinfo(); ?> file and see what $_SERVER['remote_addr'] is set to.
8
12
Quote
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
Quote by: jmucchiello
Are you sure your server isn't using some kind of proxy that might affect this? Create a <?php phpinfo(); ?> file and see what $_SERVER['remote_addr'] is set to.
OK the Apache info section states
REMOTE_ADDR 192.168.1.89
but the machine is also there
HTTP_PC_REMOTE_ADDR 192.168.1.170
but .... what is going on here ? I set up no proxy ?
Is there something wrong here ?
12
9
Quote
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
OK I have found it
it is an
OS X Server issue
Regarding
Performace Cache
Which of course uses a built in proxy server (it is enabled by default on every site on an OS X Server)
It must be disabled on EVERY site on the server for the performace Cache to disapear....
Hey Presto.... no more problem....
it is an
OS X Server issue
Regarding
Performace Cache
Which of course uses a built in proxy server (it is enabled by default on every site on an OS X Server)
It must be disabled on EVERY site on the server for the performace Cache to disapear....
Hey Presto.... no more problem....
11
10
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
You should make a feature request for a COM_remoteAddr() function be created so proxy setups can use the non-standard $_SERVER variable as needed. Not that anyone is going to jump on this issue. But adding the request means we won't forget about it. (Of course you'll have to wait until Report a Bug is working again.)
12
9
Quote
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
Quote by: jmucchiello
You should make a feature request for a COM_remoteAddr() function be created so proxy setups can use the non-standard $_SERVER variable as needed. Not that anyone is going to jump on this issue. But adding the request means we won't forget about it. (Of course you'll have to wait until Report a Bug is working again.)
Open adds also uses the same call and so it also was not working but is now...So I had to do something...
10
11
Quote
All times are EST. The time is now 06:25 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content