NC flag does not work in the rewrite rule in the JBoss EAP 6.4 CP07 and below

Solution Verified - Updated -

Issue

The following rewrite rule was configured in the JBoss web subsystem, but it keeps case sensitive. Access to http://localhost:8080/HELLO fails with 404 status.

<rewrite pattern="/hello" substitution="/" flags="NC"/>

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.4 CP07 and below

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