Rails and proxies


#1

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…


#2

On Apache:
http://tinyurl.com/ggm4q

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


– Tom M.