My Oracle Support Banner

Images Under Doc_root With A Symbolic Link Not Working (Doc ID 2955822.1)

Last updated on JUNE 16, 2023

Applies to:

Oracle REST Data Services - Version 22.4.2 to 23.1
Information in this document applies to any platform.


We are seeing the following error while running ORDS standalone and accessing images referenced with a symbolic link:

ie: http(s)://hostname:port/CustomImageFolder/CustomImage.jpg

HTTP ERROR 500 java.lang.IllegalStateException: Rejected alias reference: /CustomImageFolder/CustomImage.jpg

When the images and html files are under doc_root they display fine, but if the image is in another folder with a symbolic link under doc_root it gives the above error. Is it possible to reference images in ORDS 22.4 with a symbolic link?


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.