source: installer/resources/eepsite/contexts/cgi-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: 1.2 KB
Line 
1<?xml version="1.0"  encoding="ISO-8859-1"?>
2<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
3
4<!--
5Configure a custom context for the eepsite.
6
7 * CGI Servlet.
8 *
9 * The cgi bin directory can be set with the "cgibinResourceBase" init parameter
10 * or it will default to the resource base of the context.
11 *
12 * The "commandPrefix" init parameter may be used to set a prefix to all
13 * commands passed to exec. This can be used on systems that need assistance to
14 * execute a particular file type. For example on windows this can be set to
15 * "perl" so that perl scripts are executed.
16 *
17 * The "Path" init param is passed to the exec environment as PATH. Note: Must
18 * be run unpacked somewhere in the filesystem.
19 *
20 * Any initParameter that starts with ENV_ is used to set an environment
21 * variable with the name stripped of the leading ENV_ and using the init
22 * parameter value.
23-->
24
25<Configure class="org.mortbay.jetty.handler.ContextHandler">
26  <Set name="contextPath">/cgi-bin</Set>
27  <Set name="handler">
28    <New class="org.mortbay.servlet.CGI">
29      <Set name="cgibinResourceBase">./eepsite/cgi-bin/</Set>
30    </New>
31  </Set>
32</Configure>
33
Note: See TracBrowser for help on using the repository browser.