How to use Rewrite Valve in JBoss EAP 6?
Issue
-
How to redirect the http request to a url using Rewrite Valve?.
Example: redirecting all http requests coming for"http://localhost:8080/MXBeanDemo"should be redirected to"www.abc.com/" -
How to redirect
"http://localhost:8080/Abcd"to"http://localhost:8080/Wxyz"? - I need to set up redirects from JBoss. I do not have an apache server in place so think I will have to use RewriteRule. Need help with setting up redirect in JBoss.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
