[
https://issues.jboss.org/browse/AS7-1762?page=com.atlassian.jira.plugin.s...
]
Remy Maucherat commented on AS7-1762:
-------------------------------------
Looking at the code, there's an apparent problem, and it is possible it won't work
if there are no conditions. Try adding one.
rewrite rule doesnt function
----------------------------
Key: AS7-1762
URL:
https://issues.jboss.org/browse/AS7-1762
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.0.1.Final
Reporter: jefimm
Assignee: Remy Maucherat
Attachments: helloworld.war
I have tried to add the following configuration to the standalone.xml
<virtual-server> node:
<virtual-server name="default-host">
<alias name="localhost"/>
<alias name="example.com"/>
<rewrite pattern="^/helloworld(.*)"
substitution="/helloworld/test.jsp"/>
</virtual-server>
and I have deployed the helloworld.war, however the rewrite does not work (I know I can
deploy war at the root context I just want to test the rewrite).
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira