This content has been marked as final. Show 4 replies
My team and I are having this same issue.
We have the error page set up in $ORACLE_HOME/webcache/files along with some images in $ORACLE_HOME/webcache/files/static.
The error page references the pages relatively, ie "static/image1.jpg" but since that path technically doesn't exist, the images fail to load.
The error page itself loads correctly, just not the images.
Is there a different place we should be putting these images or perhaps a different way to reference them in our page?
Quite late reply but if you are still looking for answer:
The embedded (or referenced) image file requests come in as normal requests to Web Cache and are passed on the the origin server. Therefore, the url follows normal rules, and the location is NOT relative to the custom error page location.
So, a reference to an image in "static/image1.jpg" will be relative to the origin server's DocumentRoot directory, not relative to the files directory. The DocumentRoot directory is specified in the OHS config file. So the file image1.jpg must be placed in that directory, not $ORACLE_HOME/files/static. A reference to an image in "/image1.jpg" will be in the origin server's DocumentRoot directory.