Changing the image path and/or directory in Apex

April 14, 2011 at 4:54 pm | Posted in Oracle Developement | Leave a comment

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.


Leave a Comment »

RSS feed for comments on this post. TrackBack URI

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 )

Google+ photo

You are commenting using your Google+ 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: