Description of problem: According to this [1], there exists 'NC' flag for rewrite rule in the Web subsystem for virtual host. However this does not work unless I use 'nocase' instead of 'NC' as a flag. Version-Release number of selected component (if applicable): EAP 6.4.7 JBoss Web Services - Stack CXF Server 4.3.6.Final-redhat-1 How reproducible: Always Steps to Reproduce: 1. start server and connect to cli 2. set-up rewrite rule: /subsystem=web/virtual-server=default-host/rewrite=myrewrite:add(pattern="/hello",substitution="/",flags="NC") 3. perform reload: reload 4. try to access 'http://localhost:8080/HELLO' in your web browser Actual results: Access to 'http://localhost:8080/HELLO' fails with 404 status. Expected results: Access to 'http://localhost:8080/HELLO' should be successful with default EAP welcome page. Additional info: When I use 'nocase' instead of 'NC' this feature works as expected. [1] http://jbossweb.jboss.org/modules/rewrite.html
Patch in: https://source.jboss.org/changelog/JBossWeb?cs=2647
Verified with EAP 6.4.8.CP.CR2
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.