Changing the image path and/or directory in Apex

April 14, 2011 at 4:54 pm | Posted in Oracle Developement | 3 Comments

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.


RSS feed for comments on this post. TrackBack URI

  1. Hello good afternoon. I’m from Colombia, someone could help me … I’m saving my images through an app apex to a folder within the linux file system. I would like to know how you could show one of these images on an apex page. thank you very much,

  2. Hi, this post seems to have been replicated/copied here

    • So it seems! Thanks for the notice. I guess imitation is the greatest form of flattery. 🙂 Seems he hasn’t been active since that “re-blog”.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Entries and comments feeds.

%d bloggers like this: