The website is running apache.

request.environ["REMOTE_ADDR"]  -> 127.0.0.1

request.environ["X_REMOTE_ADDR"]  -> error



thanks


On Jan 5, 3:39 am, Jose Galvez <jj.gal...@gmail.com> wrote:
> the environment variable may be different if you are serving the site
> from apache.  I think is X_REMOTE_ADDR or something like that
>
> Alagu Madhu wrote:
> > Hi
>
> > I try to get client IP using request.environ.get("REMOTE_ADDR"),it is
> > working.But It is not working in website.
>
> > Thanks
>
> > Madhu Alagu
>
> > --
>
> > You received this message because you are subscribed to the Google Groups 
> > "pylons-discuss" group.
> > To post to this group, send email to pylons-disc...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > pylons-discuss+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/pylons-discuss?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.


Reply via email to