Re: WOMessage and headers + userinfo
Re: WOMessage and headers + userinfo
- Subject: Re: WOMessage and headers + userinfo
- From: Joe Little <email@hidden>
- Date: Sat, 1 Aug 2009 04:21:17 -0700
Thanks. ERXRequest really fits the bill.
On Sat, Aug 1, 2009 at 3:08 AM, Lachlan Deck<email@hidden> wrote:
> On 01/08/2009, at 6:23 PM, Joe Little wrote:
>
>> Think I already figured it out. One needs to first set some self-defined
>> headers using an apache mod. Specfically setenvif
>>
>> http://www.askapache.com/htaccess/setenvif.html
>>
>> On Aug 1, 2009, at 12:40 AM, Joe Little <email@hidden> wrote:
>>
>>> Is there a way to acquire the clients ip address out of the worequest?
>
> A few options:
> 1) Practical WebObjects has instructions about doing this - and GVC
> Frameworks has a util for handling it. Chuck would be able to point to
> where.
>
> 2) if using Wonder ERXRequest has remoteHost[Address|Name]
> ((ERXRequest)context().request()).remoteAddress();
>
> 3) (least recommended using private api) WORequest has _remoteAddress().
>
>>> I been tasked to limit auths to domains/ips first, and if not otherwise
>>> known, registered users. The various apache solutions are weak since only
>>> user lookup is dynamic (backend is db/ldap) but domain/ip lookups are still
>>> only static in .htaccess files
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>
> with regards,
> --
>
> Lachlan Deck
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden