Hi Klaus,
I would use a relative URL but set some header values to mimic a request coming from a webserver proxy. Try something like this:
String host = "
apps.berkeling.us";
String isSecure = true;
ERXApplication app = ERXApplication.erxApplication();
NSMutableDictionary<String, String> headers = new NSMutableDictionary<>();
if (!app.isDevelopmentMode()) {
headers.put("x-webobjects-adaptor-version", "Apache");
headers.put("host", host);
headers.put("x-webobjects-server-port", isSecure ? "443" : "80");
}
ERXRequest fakeRequest = new ERXRequest("GET", app.adaptorPath() + "/" + app.name() + ".woa", "HTTP/1.1“, headers, null, null);
WOContext context = new ERXWOContext(fakeRequest);
Does that work for you?