• 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: Full URL on dev
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Full URL on dev


  • Subject: Re: Full URL on dev
  • From: Michael Sharp <email@hidden>
  • Date: Wed, 24 Feb 2010 09:37:38 +1000

Hi James,

I'm able to build complete URLs in both dev (directconnect & webserverconnect) and deployment environments using the request header value for one of the keys like server_name or host, or on an ERXRequest using the remoteHostName() method. This gives me the appropriate host:port value and the rest can be gleaned from the uri() method on WORequest.

That's what works in my setup anyway, a dig around your request headers would be a good start..

Sharpy..


On 24/02/2010, at 9:09 AM, James Cicenia wrote:

> Hello -
>
> How do I get the full absolute url in my dev environment...
>
> I need to get something like:
>
> http://10.0.1.200:64420/cgi-bin/WebObjects/ .....
>
> Especially the dynamic port number
>
> Thanks
> James
>
> _______________________________________________
> 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

 _______________________________________________
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

References: 
 >Full URL on dev (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Oh the joys of Eclipse...
  • Next by Date: Installing WO on Centos 5.4
  • Previous by thread: Re: Full URL on dev
  • Next by thread: Retrieving an EO from a serialized Propertylist in database table textfield
  • Index(es):
    • Date
    • Thread