Rails and proxies

Hi,

I’ve got mongrel working nicely behind lighty which is working great.
Unfortunately we use remote IP addresses to work out which store is
connecting to the system.

I just tried connecting to the application via proxy server, and rails
sees my IP address now as being 127.0.0.1. Obviously this stops me
seeing the correct IP address for the store.

Is there any way around this?

Thanks in advance…

On Apache:
mod_perl: Real World Scenarios

On Lighttpd:
http://tinyurl.com/evk3g


– Tom M.