How do I enable and use the rewrite valve in JBoss EAP 4 & 5

Solution Verified - Updated -

Issue

  • We have jboss admin url as http://IP:8080 and the web url http://myapp.example.com.   The web instance apache is setup to serve the url http://myapp.example.com which is proxying to same jboss app server usng AJP.  Our requirement is if any user hit the jboss app url directly in their browser ..ie., http://IP:8080/abc it has to redirect to http://myapp.example.com/abc

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4
    • 5

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