This file is indexed.

/usr/share/i2p/eepsite/contexts/cgi-context.xml is in i2p-router 0.9.34-1ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?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.

 * CGI Servlet.
 * 
 * The cgi bin directory can be set with the "cgibinResourceBase" init parameter
 * or it will default to the resource base of the context.
 * 
 * The "commandPrefix" init parameter may be used to set a prefix to all
 * commands passed to exec. This can be used on systems that need assistance to
 * execute a particular file type. For example on windows this can be set to
 * "perl" so that perl scripts are executed.
 * 
 * The "Path" init param is passed to the exec environment as PATH. Note: Must
 * be run unpacked somewhere in the filesystem.
 * 
 * Any initParameter that starts with ENV_ is used to set an environment
 * variable with the name stripped of the leading ENV_ and using the init
 * parameter value.
-->

<Configure class="org.eclipse.jetty.servlet.ServletContextHandler">
  <Set name="contextPath">/cgi-bin</Set>
  <Set name="resourceBase">./eepsite/cgi-bin/</Set>
  <Call name="setInitParameter">
    <Arg>Path</Arg>
    <Arg>/usr/local/bin:/bin:/usr/bin</Arg>
  </Call>
  <Call name="addServlet">
    <Arg>org.eclipse.jetty.servlets.CGI</Arg>
    <Arg>/</Arg>
  </Call>
  <!-- See base-context.xml for info.
       Unlike for DefaultServlet, there's not even a theoretical
       inefficiency for using this.
    -->
  <!-- FIXME broken, threads get hung -->
<!--
  <Call name="addFilter">
    <Arg>
      <New class="org.eclipse.jetty.servlet.FilterHolder" >
        <Arg>
          <New class="org.eclipse.jetty.servlets.GzipFilter" />
        </Arg>
        <Call name="setInitParameter">
          <Arg>minGzipSize</Arg>
          <Arg>512</Arg>
        </Call>
        <Call name="setInitParameter">
          <Arg>mimeTypes</Arg>
          <Arg>application/pdf,application/x-javascript,application/xhtml+xml,application/xml,image/svg+xml,text/css,text/html,text/plain</Arg>
        </Call>
      </New>
    </Arg>
    <Arg>/*</Arg>
    <Arg>
      <Call class="java.util.EnumSet" name="of" >
        <Arg>
          <Call class="javax.servlet.DispatcherType" name="valueOf" >
            <Arg>REQUEST</Arg>
          </Call>
        </Arg>
      </Call>
    </Arg>
  </Call>
-->
</Configure>