[Mongrel] help! problem with mongrel, request.remote_ip and lighttpd

Rajiv Sankranti rajiv at fleeteyes.com
Fri Nov 23 17:22:21 EST 2007


I have an existing rails application on lighttpd and I am trrying to upgrade 
to mongrel for the enhanced scalability it offers.

I am running mongrel 1.1.1, rails 1.2.5, lighttpd 1.4.13 and ruby 1.8.5

Everything is working great except request.remote_ip returns 127.0.0.1 or 
192.168.0.102 (the internal network address of the server running lighty). 

I've seen some older posts about this problem and it appears lighttpd is the 
culprit. Will pound solve this problem?

Is there a way to get this working with lighttpd or do I need to use another 
webserver?

Please help!

Thanks,
Raj.


More information about the Mongrel-users mailing list