[jboss-jira] [JBoss JIRA] (AS7-1762) rewrite rule doesnt function
Carl L (JIRA)
jira-events at lists.jboss.org
Thu Aug 29 12:43:04 EDT 2013
[ https://issues.jboss.org/browse/AS7-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800345#comment-12800345 ]
Carl L edited comment on AS7-1762 at 8/29/13 12:42 PM:
-------------------------------------------------------
Hi, Carlos. I've haven't tested in EAP but rewrite has been working fine for us with JBoss 7.1.1. We added {{flags="L"}} to our tag, but I'm not sure if that's significant in this case. Current rule:
{code}
<rewrite pattern="^/(.*)/([\w\-]+)$" substitution="/$1/$2.jsp" flags="L"/>
{code}
was (Author: scorcher14x):
Hi, Carlos. I've haven't test in EAP but rewrite has been working fine for us with JBoss 7.1.1. We added {{flags="L"}} to our tag, but I'm not sure if that's significant in this case. Current rule:
{code}
<rewrite pattern="^/(.*)/([\w\-]+)$" substitution="/$1/$2.jsp" flags="L"/>
{code}
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list