forked from tipitaka-org/tipitaka-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jetty-context.xml
58 lines (58 loc) · 1.8 KB
/
jetty-context.xml
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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/</Set>
<Set name="war">/home/tipitaka/tipitaka-archive.war</Set>
<Set name="handler">
<New class="org.eclipse.jetty.server.handler.GzipHandler">
<Set name="handler">
<!--
<New class="org.eclipse.jetty.server.handler.HandlerList">
<Set name="handlers">
<Array type="org.eclipse.jetty.server.Handler">
<Item>
-->
<New class="org.eclipse.jetty.server.handler.ResourceHandler">
<Set name="resourceBase">/home/tipitaka/public</Set>
</New>
<!--
</Item>
-->
<!--
<Item>
<New class="org.eclipse.jetty.server.handler.DefaultHandler">
</New>
</Item>
-->
<!--
</Array>
</Set>
</New>
-->
</Set>
</New>
</Set>
<Set name="VirtualHosts">
<Array type="java.lang.String">
<Item>tipitaka.de</Item>
<Item>www.tipitaka.de</Item>
</Array>
</Set>
<!--Set name="handler">
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
<Set name="requestLog">
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
<Set name="filename"><Property name="jetty.logs" default="./logs"/>/tipitaka-yyyy_mm_dd.request.log</Set>
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
<Set name="LogTimeZone">GMT</Set>
<Set name="retainDays">90</Set>
<Set name="append">true</Set>
</New>
</Set>
</New>
</Set-->
<Call name="setInitParameter">
<Arg>data.dir</Arg>
<Arg>/home/tipitaka/public</Arg>
</Call>
</Configure>