Hi
all.
We're trying to set
up apache in front of the oc4j . While this works fine on the same host we
encounter problem when we put each on it's own machine.
In our JSPs we write
:
<head>
<BASE href="<%= HttpUtils.getRequestURL(request) %>">
<BASE href="<%= HttpUtils.getRequestURL(request) %>">
</head>
This is done for the
images will not be related to the jsp/servlet and to be served by the Apache
alone.
Since this code is
run in the oc4j it gives http://<oc4j-host>:<oc4j-port>/....
To over come it we use the <frontend>tag in the default-web-site.xml
file.
However this works
only for the same host - changing the port from oc4j to the apache port http://myhost/.... instead of http://myhost:8888/...
But when we put a
different host name in the frontend tag it simply ignore it and gives http://myhost:8888/...
Is that a kwon bug
?
Is there is any work
around ?
Thanks