[jboss-jira] [JBoss JIRA] (AS7-1762) rewrite rule doesnt function
Remy Maucherat (JIRA)
jira-events at lists.jboss.org
Fri Feb 10 10:12:48 EST 2012
[ https://issues.jboss.org/browse/AS7-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665662#comment-12665662 ]
Remy Maucherat commented on AS7-1762:
-------------------------------------
If the request does not match a webapp when it comes in, then processing stops there (before going into the rewrite valve, or any valve at all actually).
> 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
> Fix For: 7.1.0.Beta1
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list