Christoph's 2 Cents

A Backup for My Brain!

Oracle Developement

Changing the image path and/or directory in Apex

By default, the image path in an Apex installation is /i/. If you wish to change that and wish to put your images into another directory, you can do the following:

Create a directory for your images: mkdir /mypath/myimages

Make sure the new directory has full privs: drwxrwxrwx

Copy the Apex images from the installation directory to the new directory: cp -r images/* /mypath/myimages

Go to the apex/utilities directory

connect as sys

Run the reset_image_prefix script.

SQL> @reset_image_prefix

You’ll be promted for a new image prefix, for example /i4/

Edit the dads.conf file and add a new image alias

Alias /i4/ /mypath/myimages

Bounce apache.