mirror of
https://github.com/i2p/i2p.plugins.zzzot.git
synced 2024-12-06 19:27:29 +01:00
ab882f8582
Updates and migration for Jetty 7 (I2P 0.9.6)
24 lines
703 B
XML
24 lines
703 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>org.eclipse.jetty.servlet.DefaultServlet</Arg>
|
|
<Arg>/</Arg>
|
|
</Call>
|
|
</Configure>
|
|
|