• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOMessage and headers + userinfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOMessage and headers + userinfo


  • Subject: Re: WOMessage and headers + userinfo
  • From: Lachlan Deck <email@hidden>
  • Date: Sat, 1 Aug 2009 20:08:58 +1000

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


  • Follow-Ups:
    • Re: WOMessage and headers + userinfo
      • From: Joe Little <email@hidden>
References: 
 >WOMessage and headers + userinfo (From: Joe Little <email@hidden>)
 >Re: WOMessage and headers + userinfo (From: Joe Little <email@hidden>)

  • Prev by Date: Re: WOMessage and headers + userinfo
  • Next by Date: Re: WOMessage and headers + userinfo
  • Previous by thread: Re: WOMessage and headers + userinfo
  • Next by thread: Re: WOMessage and headers + userinfo
  • Index(es):
    • Date
    • Thread