On 1/6/06, Cliff Wells <[EMAIL PROTECTED]> wrote:
> One thing that I think both Catwalk and Identity are probably missing is
> proxy support.  If you just use the REMOTE_ADDR environment variable,
> all proxied requests appear to come from 127.0.0.1 rather than the real
> remote IP.  What I usually do is check to see if the environment
> variable HTTP_X_FORWARDED_FOR is set and if so, use that, otherwise use
> REMOTE_ADDR:
>
> remote_addr = os.environ.get('HTTP_X_FORWARDED_FOR,
> os.environ.get('REMOTE_ADDR', ''))

Can you open a ticket to make sure we do this?

Thanks,
Kevin

Reply via email to