My Oracle Support Banner

Images Referenced Within CSS In Page Template Are Not Found (HTTP-404) (Doc ID 1485008.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

Templates in Spaces are edited to include images stored in the MDS.
e.g.

  .xq6[theme="webcenter"]
{
background: url('/oracle/webcenter/siteresources/scopedMD/shared/images/discussions_icon.png') repeat-x scroll 0 0 transparent;
  }
  

These images are not found. The pages in the Space do not show the expected image.
Also, HTTP-404 errors are seen in the access log.


e.g. GET /oracle/webcenter/siteresources/scopedMD/shared/images/discussions_icon.png HTTP/1.1" 404 1164

The URL works directly in a browser and the expected image is displayed.

Using similar HTML code, but accessing images with a direct URL which are nit stired in the MDS works fine. e.g.
  
  .xq6[theme="webcenter"]
{
 background: url('http://www.oracleimg.com/us/assets/oralogo-small.gif') repeat-x scroll 0 0 transparent;
  }
  

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.