source: apps/i2psnark/standalone-context.xml @ 47f0bbb

Last change on this file since 47f0bbb was 2113946, checked in by zzz <zzz@…>, 4 years ago

add snark standalone context and redirect files
fix snark standalone build

  • Property mode set to 100644
File size: 716 bytes
Line 
1<?xml version="1.0" encoding="UTF-8" ?> 
2<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
3
4<!--
5Configure a custom context for the site.
6
7This context contains only a ServletContextHandler with a default servlet
8to serve static html files and images.
9-->
10
11<Configure class="org.eclipse.jetty.servlet.ServletContextHandler">
12  <Set name="contextPath">/</Set>
13  <Set name="resourceBase">./docroot/</Set>
14  <Call name="setInitParameter">
15    <Arg>org.eclipse.jetty.servlet.Default.cacheControl</Arg>
16    <Arg>max-age=3600,public</Arg>
17  </Call>
18  <Call name="addServlet">
19    <Arg>org.eclipse.jetty.servlet.DefaultServlet</Arg>
20    <Arg>/</Arg>
21  </Call>
22</Configure>
23
Note: See TracBrowser for help on using the repository browser.