>So we wound up just doing a replace/find to use this function instead >of the cgi.remote_addr everywhere.
Byron, this is basically the same code I've written. However, in other forums I've seen discussion of the X-FORWARDED-FOR header being seamlessly translated into REMOTE_ADDR by Tomcat. The code solution you're suggesting works, and if it's the way to go I'll accept that, but it means we'll have to add this to every application behind the firewall, leading to much testing and deployments, etc. I was hoping someone might know of an Apache configuration or an Apache plugin would enable this translation on the fly. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352042 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

