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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content