[jboss-jira] [JBoss JIRA] (WFLY-1282) rewrite doesn't support conditions
Jean-Frederic Clere (JIRA)
jira-events at lists.jboss.org
Thu Apr 25 08:20:53 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770117#comment-12770117 ]
Jean-Frederic Clere commented on WFLY-1282:
-------------------------------------------
+++
<rewrite pattern="(.*)" substitution="-" flags="F">
<condition test="%{QUERY_STRING}" pattern="wsdl" flags="OR"/>
</rewrite>
+++
The condition is ignored. Additionally the flags should NOT be mandatory like in mod_rewrite no flags in condition means AND (and you can't use flags="AND").
> rewrite doesn't support conditions
> ----------------------------------
>
> Key: WFLY-1282
> URL: https://issues.jboss.org/browse/WFLY-1282
> Project: WildFly
> Issue Type: Bug
> Components: Web (JBoss Web)
> Reporter: Jean-Frederic Clere
> Assignee: Jean-Frederic Clere
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list