Hi Frank,
Did you ever find a resolution to this? I've run into a similar
problem with an app that is behind a reverse proxy server - the proxy
connects to the application server over HTTPS, and the application
generates URLs with the hostname of the app server and no port number
for forms, where I would prefer it to generate relative URL's.
On 03/07/2009, at 6:02 AM, Mr. Frank Cobia wrote:
I have an application using a version of wonder from last week and
using the 5.4 version of webobjects. All the forms in the app are
generating full URLs instead of relative URLs. This is causing me a
problem because (at lest for the moment) the machine is accessible
from the Internet and through VPN using different names, but the app
always generates URLs with the VPN name and so someone accessing it
from the Internet is not able to use the app. Also if it makes a
difference, I am accessing the app through https.
Is there a way to force the form to generate relative URLs for form
submission?
I have tried the following, but it does not seem to work:
@Override
public WOContext createContextForRequest(WORequest request) {
ERXWOContext context =
(ERXWOContext)super.createContextForRequest(request);
context._generateRelativeURLs();
return context;
}
Thanks,
Frank
_______________________________________________
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/rjst01%40iinet.net.au
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]