Serving static content from Apache httpd when mod_cluster is configured

Solution Verified - Updated -

Issue

  • We are trying to get Apache to serve the static files on an application that is hosted in JBoss load balanced with mod_cluster. We configure the corresponding alias:

    Alias "/myapp/static" "/opt/path/to/static"
    

    The problem is that, with this configuration in Apache httpd, all requests for the application are still being proxied to the JBoss server.

Environment

  • Red Hat JBoss Core Services (JBCS)
  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Red Hat JBoss Web Server (JWS)
  • Apache httpd
  • mod_cluster

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