WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Access an specific resource path though the IBM Websphere Application server port 9080.

  • 1.  Access an specific resource path though the IBM Websphere Application server port 9080.

    Posted Mon March 25, 2024 10:52 AM

    I want to access specific images of the application server image directory through the IBM Websphere application server port 9080.

    Ex: Let's assume my base image directory is "C:/myApplication/images" and it contains an image called "abc.png". So, I want to access that image from the below URL.

    http://localhost:9080/my-images/abc.png

    In the Apache Tomcat we can configure it in /conf/server.xml file as below.

    < Context docBase="/C:/myApplication/images" path="my-images" />

    But I want to know how to configure that base resource path in the Websphere Admin Console to access images through the Websphere application server port 9080 ?



    ------------------------------
    Hasitha Amarathunga
    ------------------------------


  • 2.  RE: Access an specific resource path though the IBM Websphere Application server port 9080.

    Posted Mon March 25, 2024 11:02 AM

    Check "extendedDocumentRoot" in https://www.ibm.com/docs/en/was-nd/9.0.5?topic=applications-file-serving



    ------------------------------
    Eric Covener
    ------------------------------