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 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.