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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/getsharp%40gmail.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to