REMOTE_ADDR Weirdness
Michael Sheldon
plug-discuss@lists.plug.phoenix.az.us
Thu, 12 Jun 2003 16:42:39 -0700
> 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!