aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2012-11-20 11:09:17 (EST)
committerThomas Becker2012-11-20 11:09:36 (EST)
commitdd180a8c4804d0b0dc098f1d837ae0cf361c6927 (patch)
treeae6892a635776a3fbe848084d755aceab9480a00
parentdb76d8775a7b60d06888917cec42f40132c1961d (diff)
downloadorg.eclipse.jetty.project-dd180a8c4804d0b0dc098f1d837ae0cf361c6927.zip
org.eclipse.jetty.project-dd180a8c4804d0b0dc098f1d837ae0cf361c6927.tar.gz
org.eclipse.jetty.project-dd180a8c4804d0b0dc098f1d837ae0cf361c6927.tar.bz2
394681: fix jetty-rewrite.xml to match test webapps new context /test
-rw-r--r--jetty-rewrite/src/main/config/etc/jetty-rewrite.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/jetty-rewrite/src/main/config/etc/jetty-rewrite.xml b/jetty-rewrite/src/main/config/etc/jetty-rewrite.xml
index 1d208f8..5a66808 100644
--- a/jetty-rewrite/src/main/config/etc/jetty-rewrite.xml
+++ b/jetty-rewrite/src/main/config/etc/jetty-rewrite.xml
@@ -43,8 +43,8 @@
<Call name="addRule">
<Arg>
<New class="org.eclipse.jetty.rewrite.handler.RewritePatternRule">
- <Set name="pattern">/rewrite/</Set>
- <Set name="replacement">/rewrite/info.html</Set>
+ <Set name="pattern">/test/rewrite/</Set>
+ <Set name="replacement">/test/rewrite/info.html</Set>
</New>
</Arg>
</Call>
@@ -53,8 +53,8 @@
<Call name="addRule">
<Arg>
<New class="org.eclipse.jetty.rewrite.handler.RewritePatternRule">
- <Set name="pattern">/some/old/context</Set>
- <Set name="replacement">/rewritten/newcontext</Set>
+ <Set name="pattern">/test/some/old/context</Set>
+ <Set name="replacement">/test/rewritten/newcontext</Set>
</New>
</Arg>
</Call>
@@ -63,8 +63,8 @@
<Call name="addRule">
<Arg>
<New class="org.eclipse.jetty.rewrite.handler.RewritePatternRule">
- <Set name="pattern">/rewrite/for/*</Set>
- <Set name="replacement">/rewritten/</Set>
+ <Set name="pattern">/test/rewrite/for/*</Set>
+ <Set name="replacement">/test/rewritten/</Set>
</New>
</Arg>
</Call>
@@ -94,8 +94,8 @@
<Call name="addRule">
<Arg>
<New class="org.eclipse.jetty.rewrite.handler.RedirectPatternRule">
- <Set name="pattern">/redirect/*</Set>
- <Set name="location">/redirected</Set>
+ <Set name="pattern">/test/redirect/*</Set>
+ <Set name="location">/test/redirected</Set>
</New>
</Arg>
</Call>