aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe/sdc-frontend/artifacts/files/fe_etc/rewrite-root-to-sdc1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-fe/sdc-frontend/artifacts/files/fe_etc/rewrite-root-to-sdc1.xml')
-rw-r--r--catalog-fe/sdc-frontend/artifacts/files/fe_etc/rewrite-root-to-sdc1.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/catalog-fe/sdc-frontend/artifacts/files/fe_etc/rewrite-root-to-sdc1.xml b/catalog-fe/sdc-frontend/artifacts/files/fe_etc/rewrite-root-to-sdc1.xml
new file mode 100644
index 0000000000..e0862a5bfd
--- /dev/null
+++ b/catalog-fe/sdc-frontend/artifacts/files/fe_etc/rewrite-root-to-sdc1.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
+<Configure id="Server" class="org.eclipse.jetty.server.Server">
+ <Ref refid="Rewrite">
+ <Call name="addRule">
+ <Arg>
+ <New class="org.eclipse.jetty.rewrite.handler.RedirectPatternRule">
+ <Set name="pattern" type="String"/>
+ <Set name="location">/sdc1</Set>
+ </New>
+ </Arg>
+ </Call>
+ </Ref>
+ <!-- ===================== -->
+ <!-- DefaultHandler config -->
+ <!-- ===================== -->
+ <Ref id="DefaultHandler">
+ <Set name="showContexts">false</Set>
+ </Ref>
+</Configure>