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
morning -
Yes that is it. I was using WOApplication apis and they weren't giving me the
"correct" info.
Thanks
James
On Feb 23, 2010, at 10:22 PM, Mike Schrag wrote:
> I assume he means via API?
>
> context()._generateCompleteURLs();
> String url = context().urlWithRequestHandlerKey(..)
>
I assume he means via API?
context()._generateCompleteURLs();
String url = context().urlWithRequestHandlerKey(..)
context()._generateRelativeURLs();
ms
On Feb 23, 2010, at 10:08 PM, Kieran Kelleher wrote:
> Open the launch config in Eclipse. Go to the WO tab and change the WOPort
> launch prop
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 wil