chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1206914 - in /incubator/chukwa/trunk: CHANGES.txt src/main/web/hicc/WEB-INF/jetty.xml
Date Sun, 27 Nov 2011 23:22:05 GMT
Author: eyang
Date: Sun Nov 27 23:22:04 2011
New Revision: 1206914

URL: http://svn.apache.org/viewvc?rev=1206914&view=rev
Log:
CHUKWA-609. Map / to /hicc for HICC server. (Eric Yang)

Modified:
    incubator/chukwa/trunk/CHANGES.txt
    incubator/chukwa/trunk/src/main/web/hicc/WEB-INF/jetty.xml

Modified: incubator/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/CHANGES.txt?rev=1206914&r1=1206913&r2=1206914&view=diff
==============================================================================
--- incubator/chukwa/trunk/CHANGES.txt (original)
+++ incubator/chukwa/trunk/CHANGES.txt Sun Nov 27 23:22:04 2011
@@ -98,6 +98,8 @@ Trunk (unreleased changes)
 
   BUG FIXES
 
+    CHUKWA-609. Map / to /hicc for HICC web server. (Eric Yang)
+
     CHUKWA-593. Fixed infinite loop archiving at midnight. (Sourygna Luangsay via Eric Yang)
 
     CHUKWA-602. Set svn ignore properties to ignore eclipse and maven files. (Eric Yang)

Modified: incubator/chukwa/trunk/src/main/web/hicc/WEB-INF/jetty.xml
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/src/main/web/hicc/WEB-INF/jetty.xml?rev=1206914&r1=1206913&r2=1206914&view=diff
==============================================================================
--- incubator/chukwa/trunk/src/main/web/hicc/WEB-INF/jetty.xml (original)
+++ incubator/chukwa/trunk/src/main/web/hicc/WEB-INF/jetty.xml Sun Nov 27 23:22:04 2011
@@ -103,9 +103,6 @@
              <New id="Contexts" class="org.mortbay.jetty.handler.ContextHandlerCollection"/>
            </Item>
            <Item>
-             <New id="DefaultHandler" class="org.mortbay.jetty.handler.DefaultHandler"/>
-           </Item>
-           <Item>
              <New id="RequestLog" class="org.mortbay.jetty.handler.RequestLogHandler"/>
            </Item>
          </Array>
@@ -113,6 +110,18 @@
       </New>
     </Set>
     
+    <Call name="addHandler">
+      <Arg>
+        <New class="org.mortbay.jetty.handler.MovedContextHandler">
+          <Set name="contextPath">/</Set>
+          <Set name="newContextURL">/hicc</Set>
+          <Set name="permanent">true</Set>
+          <Set name="discardPathInfo">false</Set>
+          <Set name="discardQuery">false</Set>
+        </New>
+      </Arg>
+    </Call>
+
     <!-- =========================================================== -->
     <!-- Configure the context deployer                              -->
     <!-- A context deployer will deploy contexts described in        -->
@@ -189,3 +198,4 @@
     <Set name="gracefulShutdown">1000</Set>
 
 </Configure>
+



Mime
View raw message