[jboss-jira] [JBoss JIRA] Commented: (AS7-1762) rewrite rule doesnt function

Carl L (JIRA) jira-events at lists.jboss.org
Wed Sep 14 18:39:26 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628524#comment-12628524 ] 

Carl L commented on AS7-1762:
-----------------------------

I'm facing the same issue and got the same results as above when adding the <condition> tag.

> 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

        


More information about the jboss-jira mailing list