What is an equivalent to mod_wl's PathTrim that we can use with JBoss?

Solution Verified - Updated -

Issue

  • We previously used PathTrim with mod_wl to proxy traffic to Weblogic, for example:

    <Location /test>
            SetHandler weblogic-handler
            PathTrim /test
    </Location>
    

    What's an equivalent option to use with JBoss? If a user is accessing my site with the '/foo' path, then Apache httpd should add WL-PATH-TRIM=/test to the request header that is passed on to JBoss and will change the path to /.

Environment

  • JBoss Enterprise Application Platform (EAP)
  • JBoss Enterprise Web Server (EWS)
  • Apache httpd
  • mod_proxy
  • mod_jk
  • 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
Close

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