jesus at omniti
May 17, 2002, 7:09 AM
Post #2 of 2
problem with remote-ip behind backhand-front (proxy)
[In reply to]
> Now I see the following problem (without having it tested):
> The Apache on the webservers (private net) receives all requests from
> the two front-machines and donīt know the real IP from the visitors.
> Thats the problem: The servers running some scripts which need to know
> the real IP (PHP-Based access-control).
(1) You must run mod_backhand on all your machines, mod_backhand is a
peer-based system, even if you are using it as a teired system.
(2) mod_backhand rewrites the IP address on the front end and extracts
it on the backend before PHP gets it... It should be completely
transparent -- Even for single "backend" connections used my mupltiple
fronend requests from different clients.
So, it isn't a problem at all.
OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
Phone: +1 301 776 6376 Fax: +1 410 880 4879
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7