license for mods to zzzot by dr|z3d as per the overall Apache 2 license. - Add variables for $VERSION and $SITENAME - Enhance presentation of help page - Modify docroot/index.html post-install to contain b32 - Add custom CSS to docroot/tracker.css to allow customization - Only display warning about moving help.html if necessary - Add rewrite rules for /tracker, /tracker/, /tracker/index.html, /help and /help/ to jetty.xml - Replace jetty.servlet.DeaultServlet with I2PDefaultServlet in BaseContext.xml - Tidy CHANGES.txt and add to plugin/ Bump min I2P version to 0.9.31 for I2PDefaultServlet
24 lines
696 B
XML
24 lines
696 B
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
|
|
|
<!--
|
|
Configure a custom context for the eepsite.
|
|
|
|
This context contains only a ServletContextHandler with a default servlet
|
|
to serve static html files and images.
|
|
-->
|
|
|
|
<Configure class="org.eclipse.jetty.servlet.ServletContextHandler">
|
|
<Set name="contextPath">/</Set>
|
|
<Set name="resourceBase">$PLUGIN/eepsite/docroot/</Set>
|
|
<Call name="setInitParameter">
|
|
<Arg>cacheControl</Arg>
|
|
<Arg>max-age=3600,public</Arg>
|
|
</Call>
|
|
<Call name="addServlet">
|
|
<Arg>net.i2p.servlet.I2PDefaultServlet</Arg>
|
|
<Arg>/</Arg>
|
|
</Call>
|
|
</Configure>
|
|
|