[jboss-jira] [JBoss JIRA] (WFLY-9798) Undertow filter rewrite configuration error
구용 이 (JIRA)
issues at jboss.org
Sun Feb 11 23:57:00 EST 2018
구용 이 created WFLY-9798:
--------------------------
Summary: Undertow filter rewrite configuration error
Key: WFLY-9798
URL: https://issues.jboss.org/browse/WFLY-9798
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Environment: h2. Test environment
1. CentOS Linux release 7.4.1708 (Core)
2. wildfly-11.0.0.Final
3. wildfly-12.0.0.Alpha1-SNAPSHOT
Reporter: 구용 이
Assignee: Stuart Douglas
hi~
A URL in the form of "http://localhost/test1" should be rewritten to "http://localhost/abc/test1"
h2. Configuration
Undertow Subsystem
<host ...
<filter-ref name="rewrite-test" predicate="regex('^/test(.*)$')"/>
...
<filters>
<rewrite name="rewrite-test" target="/abc/test${1}.jsp" redirect="false"/>
h2. Problems:
server.log
failure description: "WFLYCTL0211: Cannot resolve expression '/abc/test${1}.jsp'"
Thank you
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list