An integral part of any AS Java system is HTTP Provider that provides a low level communication and transportation service for AS Java over HTTP. One of the important features of it is, capability of accessing file system via HTTP – that is actually the key for the topic that is discussed in this blog.
In order to be able to get read access to some directory of the file system of AS Java system, it is necessary to configure the respective alias. To do this, follow steps described below:
To enable directory browsing:
Open Visual Administrator, go to ServerID -> Services -> Http Provider. On the tab Runtime -> Virtual Hosts -> General (which is shown by default) there's a check box 'Directory List'. Check it and click on the button 'Save properties'. Do this for every server node in the cluster.
1. Select the Directory list check box in General Tab,
From Aliases tab, need to create a Alias and provide the path of the folder which have images
Click on save properties.
Use this below URL to view the images which has saved in alias folder.
http://<HOSTNAME>:<PORT>/alias
Click on any listed image to access/display in web
Thank you..