REMOTE_ADDR Weirdness
Bryce C
plug-discuss@lists.plug.phoenix.az.us
12 Jun 2003 14:32:26 -0700
--=-xOW8tQG99Dy0Pm0s7CSh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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.
On Thu, 2003-06-12 at 14:25, Phil Mattison wrote:
> Here's a brain teaser for you guys. I'm using the PHP fopen() function wi=
th
> Linux/Apache to read HTTP data from one web server to another (not all th=
at
> unusual as I understand). REMOTE_ADDR is supposed to have the IP address =
of
> the requestor when the responding server script runs, and it usually does=
,
> except when both web servers are virtual hosts on the same physical serve=
r,
> in which case REMOTE_ADDR is the same as SERVER_ADDR (not good). I've tri=
ed
> it on three different virtual host systems, all with the same result.
> Twilight Zone, anyone?
> --
> Phil Mattison
> Ohmikron Corp.
> 480-722-9595 ext. 1
>=20
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--=20
Bryce C <Plug@BryceCo.Net>
CoBryce Communications
--=-xOW8tQG99Dy0Pm0s7CSh
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+6PFp/wbq/C6yyPcRAlRHAJ4mtLv96WMyLlzXv7quxkHUbicQKQCeM/ib
1iOuGtuyq3zo+QMmQ/OF3vs=
=z3wA
-----END PGP SIGNATURE-----
--=-xOW8tQG99Dy0Pm0s7CSh--