REMOTE_ADDR Weirdness

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Sheldon
Date:  
Subject: REMOTE_ADDR Weirdness
> Yes, auto routing by linux. Go out the most direct route, short of
> calling 127.0.0.1. I have a similar setup and if I don't go out to the
> router from eth0 first, it'll go out on eth0:0 to eth:0's address.
>


Correct.

In short, you're SOL.

Just because the virtual host is on IP X, doesn't mean that *outbound*
connections will go out on that IP. The REMOTE_ADDR value you are seeing is
correct, it's just not what you expected it to be.

Michael J. Sheldon
http://www.desertraven.com/
Make a fast friend, adopt a greyhound!