But if you're proxying behind Apache, this will be the localhost, so
first check 'HTTP_X_FORWARDED_FOR'.

--Mike

On 6/23/07, Jose Galvez <[EMAIL PROTECTED]> wrote:
>
> try request.environ['REMOTE_ADDR']
> Jose
>
> griliard wrote:
> > I would like to take different actions based on the ip client
> > requesting a webpage.  Is it possible to get this information in
> > Pylons?  Looking at the request object, I can't see anything obvious.
> >
> >
> > >
> >
> >
>
> >
>


-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to