Configuring JBoss to allow directory listing of static content in EAP 5

Solution Verified - Updated -

Issue

  • We can get JBoss to serve up static files by creating a symlink to a directory with ".war" appended to the symlink's name, but this doesn't return a directory listing.  You have to know the entire path to the file.

    So this works:
    http://host:8080/logs/app.log
    
    Doesn't work:
    http://host:8080/logs/
    
  • Any idea how to get JBoss to serve up directories of static content?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.