How to Reset the Image Prefix After Installation of APEX (Doc ID 430837.1)

Last updated on NOVEMBER 14, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version 3.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 08-Aug-2013***


Goal

After the installation of APEX 3.0 and above, you are not able to view any images/icons and cannot login to the instance.

The error_log in $ORACLE_HOME/Apache/Apache/logs shows the following errors, indicating that the files cannot be found:

...
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796691:10.0.0.26:10034:0:5,0]
mod_plsql: /pls/apex/5css/ie.css HTTP-404 \n5css: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796691:10.0.0.26:10035:0:1,0]
mod_plsql: /pls/apex/5css/htmldb_V2.css HTTP-404 \n5css: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10034:0:6,0]
mod_plsql: /pls/apex/5javascript/htmldb_html_elements.js HTTP-404 \n5javascript: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10035:0:2,0]
mod_plsql: /pls/apex/5javascript/htmldb_get.js HTTP-404 \n5javascript: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10035:0:3,0]
mod_plsql: /pls/apex/5css/core_ie_V22.css HTTP-404 \n5css: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10035:0:4,0]
mod_plsql: /pls/apex/5htmldb/apex_logo.gif HTTP-404 \n5htmldb: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10035:0:5,0]
mod_plsql: /pls/apex/51px_trans.gif HTTP-404 \n51px_trans.gif: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10034:0:7,0]
mod_plsql: /pls/apex/5css/core_V22.css HTTP-404 \n5css: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10034:0:8,0]
mod_plsql: /pls/apex/5htmldb/builder/right_curve.gif HTTP-404 \n5htmldb: PROCEDURE DOESN'T EXIST\n
[Thu May 10 13:31:32 2007] [error] [client x.x.x.x] [ecid: 1178796692:10.0.0.26:10035:0:6,0]
mod_plsql: /pls/apex/5htmldb/builder/left_curve.gif HTTP-404 \n5htmldb: PROCEDURE DOESN'T EXIST\n
...

The above errors indicate that the Image Prefix that was set at installation time was set incorrectly as "/pls/apex/5" instead of "/i/" since the URLs show up as "/pls/apex/5htmldb" or "/pls/apex/5css".

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms