source: installer/resources/eepsite/contexts/base-context.xml @ 92b9d0a

Last change on this file since 92b9d0a was 92b9d0a, checked in by zzz <zzz@…>, 9 years ago

First cut at migrating to Jetty 6 and prep for using an external
Jetty 6 package.

  • Add several jars from the Jetty 6 distribution
  • Update jetty.xml
  • Add context XML files
  • Update WorkingDir? to migrate the content XML files
  • Update RouterConsoleRunner? and LocaleWebAppHandler?
  • Remove all old Jetty 5.1.15 local mods; this will break Seedless using a custom Server() constructor
  • Update I2PRequestLog to be a mod of NCSARequestLog from 6.1.26
  • Put I2PRequestLog in its own jar
  • Copy MultiPartRequest? and other required classes from Jetty 5.1.15 and add it to susimail, as the replacement MultiPartFilter? in Jetty 6 is difficult to migrate to, and does not support content-type
  • Update i2psnark for Jetty 6
  • Disable i2psnark RunStandalone?, unused and instantiated Jetty 5
  • Fix up all webapp build.xml to reference new jars

Not yet working: Plugin/webapp run detection and stopping, eepsite CGI
Not well tested: Plugins, classpaths, webapps

  • Property mode set to 100644
File size: 767 bytes
1<?xml version="1.0"  encoding="ISO-8859-1"?>
2<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "">
5Configure a custom context for the eepsite.
7This context contains only a ServletHandler with a default servlet
8to serve static html files and images.
11<Configure class="org.mortbay.jetty.handler.ContextHandler">
12  <Set name="contextPath">/</Set>
13  <Set name="resourceBase">./eepsite/docroot/</Set>
14  <Set name="handler">
15    <New class="org.mortbay.jetty.handler.ResourceHandler">
16      <Set name="welcomeFiles">
17        <Array type="String">
18          <Item>index.html</Item>
19        </Array>
20      </Set>
21      <Set name="cacheControl">max-age=3600,public</Set>
22    </New>
23  </Set>
Note: See TracBrowser for help on using the repository browser.