* Update default eepsite base context to use DefaultServlet

instead of ResourceHandler, to provide resume, directory
    indexes, caching, etc.
This commit is contained in:
zzz
2012-03-09 16:03:27 +00:00
parent e4257f28c9
commit e331800898
3 changed files with 17 additions and 8 deletions

View File

@@ -1,4 +1,9 @@
2012-03-09 zzz 2012-03-09 zzz
* Update default eepsite base context to use DefaultServlet
instead of ResourceHandler, to provide resume, directory
indexes, caching, etc.
2012-03-08 zzz
* GarlicConfig: Remove unused reply block methods * GarlicConfig: Remove unused reply block methods
* SessionKeyManager: * SessionKeyManager:
- Don't use unacked tagsets after consecutive ack failures - Don't use unacked tagsets after consecutive ack failures

View File

@@ -12,13 +12,17 @@ to serve static html files and images.
<Set name="contextPath">/</Set> <Set name="contextPath">/</Set>
<Set name="resourceBase">./eepsite/docroot/</Set> <Set name="resourceBase">./eepsite/docroot/</Set>
<Set name="handler"> <Set name="handler">
<New class="org.mortbay.jetty.handler.ResourceHandler"> <New class="org.mortbay.jetty.servlet.ServletHandler" >
<Set name="welcomeFiles"> <Call name="addServletWithMapping">
<Array type="String"> <Arg>
<Item>index.html</Item> <New class="org.mortbay.jetty.servlet.ServletHolder">
</Array> <Arg>
</Set> <New class="org.mortbay.jetty.servlet.DefaultServlet" />
<Set name="cacheControl">max-age=3600,public</Set> </Arg>
</New>
</Arg>
<Arg>/</Arg>
</Call>
</New> </New>
</Set> </Set>
</Configure> </Configure>

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 7; public final static long BUILD = 8;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = ""; public final static String EXTRA = "";