# Stack traces showing in production mode with consider local off

**URL:** <https://www.ruby-forum.com/t/stack-traces-showing-in-production-mode-with-consider-local-off/128385>\
**Category:** Rails\
**Created:** [February 7, 2008, 8:45am UTC](https://www.ruby-forum.com/t/stack-traces-showing-in-production-mode-with-consider-local-off/128385 "2008-02-07T08:45:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikel\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/2bfe46/32.png) [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Post date:** [February 7, 2008, 8:45am UTC](https://www.ruby-forum.com/t/stack-traces-showing-in-production-mode-with-consider-local-off/128385/1 "2008-02-07T08:45:24Z")

</div>

Hey all,

I have some mongrels running in mongrel service sitting behind apache  
on top of Windows Server 2003.

The problem is that in the log files, the request IP address is  
showing up as 127.0.0.1 - and so rails is considering it a local  
request and displaying the stack traces on errors.

I remember reading about how to fix this somewhere, and I am sure it  
is an apache config setting to force the request IP to reflect the  
address of the original requestee, not the proxy, but I can’t find it!

Any pointers?

All versions of the software are basically current.

Regards

Mikel
