Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
3
<web-app>
4
    <display-name>GeoServer</display-name>
5
  
6
      <context-param>
7
    <param-name>serviceStrategy</param-name>
8
    <!-- Meaning of the different values :
9
         
10
         PARTIAL-BUFFER2
11
         - Partially buffers the first xKb to disk. Once that has buffered, the the 
12
           result is streamed to the user. This will allow for most errors to be caught
13
           early. 
14
           
15
         BUFFER
16
         - stores the entire response in memory first, before sending it off to
17
           the user (may run out of memory)
18

    
19
         SPEED
20
         - outputs directly to the response (and cannot recover in the case of an
21
           error)
22

    
23
         FILE
24
         - outputs to the local filesystem first, before sending it off to the user
25
      -->
26
    <param-value>SPEED</param-value>
27
  </context-param>
28
  
29
  <!-- If true, enable versioning datastore as well -->
30
  <context-param>
31
    <param-name>enableVersioning</param-name>
32
    <param-value>true</param-value>
33
  </context-param>
34
  
35
  <context-param>
36
    <!-- see comments on the PARTIAL-BUFFER strategy -->
37
    <!-- this sets the size of the buffer.  default is "50" = 50kb -->
38

    
39
    <param-name>PARTIAL_BUFFER_STRATEGY_SIZE</param-name>
40
    <param-value>50</param-value>
41
  </context-param>
42
  
43
    <!-- 
44
    <context-param>
45
      <param-name>PROXY_BASE_URL</param-name>
46
      <param-value>http://82.58.146.45/</param-value>
47
    </context-param>
48
     -->
49
   
50
	<context-param>
51
		<param-name>GEOSERVER_DATA_DIR</param-name>
52
		<param-value>_GEOSERVER_DATA_DIR_VALUE_</param-value>
53
	</context-param> 
54
  
55
    <!-- pick up all spring application contexts -->
56
    <context-param>
57
        <param-name>contextConfigLocation</param-name>
58
        <param-value>classpath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml</param-value>
59
    </context-param>
60

    
61
    <filter>
62
     <filter-name>Acegi Filter Chain Proxy</filter-name>
63
     <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
64
     <init-param>
65
       <param-name>targetClass</param-name>
66
       <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
67
     </init-param>
68
    </filter>
69
    
70
       <filter>
71
    <filter-name>Set Character Encoding</filter-name>
72
    <filter-class>org.vfny.geoserver.filters.SetCharacterEncodingFilter</filter-class>
73
    <init-param>
74
      <param-name>encoding</param-name>
75
      <param-value>UTF-8</param-value>
76
    </init-param>
77
  </filter>
78

    
79
   <filter>
80
    <filter-name>Reverse Proxy Filter</filter-name>
81
    <filter-class>org.geoserver.filters.ReverseProxyFilter</filter-class>
82
    <init-param>
83
      <param-name>enabled</param-name>
84
      <param-value>false</param-value>
85
      <description>
86
        Whether to enable the reverse proxy filter or not. Defaults to false. Set to true
87
        in order for GeoServer to perform URL translation for the proxyfied base URL on
88
        textual content whose MIME type matches one of the regular expressions set through
89
        the mime-types init parameter.
90
      </description>
91
    </init-param>
92
    <init-param>
93
      <param-name>mime-types</param-name>
94
      <param-value>text/html.*,text/css.*,text/javascript.*,application/x-javascript.*</param-value>
95
      <description>
96
        Comma separated list of response MIME types the filter shall process in order to translate
97
        absolute urls using the configured proxyBaseUrl. Each token in the comma separated list
98
        is interpreted as a java regular expression.
99
      </description>
100
    </init-param>
101
   </filter>
102
   
103
   <filter>
104
     <filter-name>GZIP Compression Filter</filter-name>
105
     <filter-class>org.geoserver.filters.GZIPFilter</filter-class>
106
     <init-param>
107
         <!-- The compressed-types parameter is a comma-separated list of regular expressions.
108
              If a mime type matches any of the regular expressions then it will be compressed.
109
              -->
110
         <param-name>compressed-types</param-name>
111
         <param-value>text/.*,.*xml.*,application/json,application/x-javascript</param-value>
112
     </init-param>
113
   </filter>
114

    
115
   <filter>
116
     <filter-name>Request Logging Filter</filter-name>
117
     <filter-class>org.geoserver.filters.LoggingFilter</filter-class>
118
     <init-param>
119
         <!-- The 'enabled' parameter is a boolean value, "true" (case-insensitive) for true or
120
              any other value for false.  If enabled, then the logging will be performed;
121
              otherwise the logging filter will have no effect.  If not specified, this 
122
              parameter defaults to false.
123
              -->
124
         <param-name>enabled</param-name>
125
         <param-value>false</param-value>
126
     </init-param>
127
     <init-param>
128
     <!-- The 'log-request-bodies' parameter is a boolean value, "true" (case-insensitive) for
129
          true or any other value for false.  If enabled, then the logging will include the body
130
          of POST and PUT requests.  If not specified, this parameter defaults to false.
131
          Note that this may noticeably degrade responsiveness of your geoserver since it will
132
          not begin to process requests until the entire request body has been received by the 
133
          server.
134
          -->
135
     <param-name>log-request-bodies</param-name>
136
     <param-value>false</param-value>
137
     </init-param>
138
   </filter>
139

    
140
    <filter-mapping>
141
      <filter-name>GZIP Compression Filter</filter-name>
142
      <url-pattern>/*</url-pattern>
143
    </filter-mapping>
144
    
145
    <filter-mapping>
146
      <filter-name>Reverse Proxy Filter</filter-name>
147
      <url-pattern>/*</url-pattern>
148
    </filter-mapping>
149
  
150
    <filter-mapping>
151
      <filter-name>Request Logging Filter</filter-name>
152
      <url-pattern>/*</url-pattern>
153
    </filter-mapping>
154
   
155
    <!-- 
156
      If you want to use your security system comment out this one too
157
    -->
158
    <filter-mapping>
159
      <filter-name>Acegi Filter Chain Proxy</filter-name>
160
      <url-pattern>/*</url-pattern>
161
    </filter-mapping>
162
    
163
      <filter-mapping>
164
      <filter-name>Set Character Encoding</filter-name>
165
      <url-pattern>/*</url-pattern>
166
    </filter-mapping>
167
    
168
    <!-- general initializer, should be first thing to execute -->
169
    <listener>
170
      <listener-class>org.geoserver.GeoserverInitStartupListener</listener-class>
171
    </listener>
172
    
173
    <!-- logging initializer, should execute before spring context startup -->
174
    <listener>
175
      <listener-class>org.geoserver.logging.LoggingStartupContextListener</listener-class>
176
    </listener>
177
  
178
    <!--  spring context loader -->
179
    <listener>
180
      <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
181
    </listener>
182
    
183
    
184
    <!-- spring dispatcher servlet, dispatches all incoming requests -->
185
    <servlet>
186
      <servlet-name>dispatcher</servlet-name>
187
      <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
188
    </servlet>
189
    <servlet>
190
	   <servlet-name>TestWfsPost</servlet-name>
191
	   <servlet-class>org.vfny.geoserver.wfs.servlets.TestWfsPost</servlet-class>
192
	</servlet>
193
    
194
    <servlet-mapping>
195
        <servlet-name>dispatcher</servlet-name>
196
        <url-pattern>/web/*</url-pattern>
197
    </servlet-mapping>
198
    <!-- TODO: find a way to remove this mighty list of mappings and have just one... -->
199
    <servlet-mapping>
200
      <servlet-name>dispatcher</servlet-name>
201
      <url-pattern>/rest/*</url-pattern>
202
    </servlet-mapping>
203
    <servlet-mapping>
204
      <servlet-name>dispatcher</servlet-name>
205
      <url-pattern>/security/*</url-pattern>
206
    </servlet-mapping>    
207
    <servlet-mapping>
208
      <servlet-name>dispatcher</servlet-name>
209
      <url-pattern>/wms/*</url-pattern>
210
    </servlet-mapping>
211
    <servlet-mapping>
212
      <servlet-name>dispatcher</servlet-name>
213
      <url-pattern>/wcs/*</url-pattern>
214
    </servlet-mapping>
215
    <servlet-mapping>
216
      <servlet-name>dispatcher</servlet-name>
217
      <url-pattern>/wfs/*</url-pattern>
218
    </servlet-mapping>
219
    <servlet-mapping>
220
      <servlet-name>dispatcher</servlet-name>
221
      <url-pattern>/ows/*</url-pattern>
222
    </servlet-mapping>
223
    <servlet-mapping>
224
      <servlet-name>dispatcher</servlet-name>
225
      <url-pattern>/wfsv/*</url-pattern>
226
    </servlet-mapping>
227
    <servlet-mapping>
228
      <servlet-name>dispatcher</servlet-name>
229
      <url-pattern>/wcs111/*</url-pattern>
230
    </servlet-mapping>
231
    <servlet-mapping>
232
      <servlet-name>dispatcher</servlet-name>
233
      <url-pattern>/kml/*</url-pattern>
234
    </servlet-mapping>
235
    <servlet-mapping>
236
     <servlet-name>dispatcher</servlet-name>
237
     <url-pattern>/styles/*</url-pattern>
238
    </servlet-mapping>
239
    <servlet-mapping>
240
     <servlet-name>dispatcher</servlet-name>
241
     <url-pattern>/www/*</url-pattern>
242
    </servlet-mapping>
243
    <servlet-mapping>
244
     <servlet-name>dispatcher</servlet-name>
245
     <url-pattern>/temp/*</url-pattern>
246
    </servlet-mapping>
247
    <servlet-mapping>
248
     <servlet-name>dispatcher</servlet-name>
249
     <url-pattern>/history/*</url-pattern>
250
    </servlet-mapping>
251
    <servlet-mapping>
252
     <servlet-name>dispatcher</servlet-name>
253
     <url-pattern>/gwc/*</url-pattern>
254
    </servlet-mapping>
255
    <servlet-mapping>
256
     <servlet-name>dispatcher</servlet-name>
257
     <url-pattern>/pdf/*</url-pattern>
258
    </servlet-mapping>
259
    
260
    <servlet-mapping>
261
     <servlet-name>TestWfsPost</servlet-name>
262
     <url-pattern>/TestWfsPost/*</url-pattern>
263
    </servlet-mapping>
264
    
265
    <mime-mapping>
266
      <extension>xsl</extension>
267
      <mime-type>text/xml</mime-type>
268
    </mime-mapping>
269
    <mime-mapping>
270
      <extension>sld</extension>
271
      <mime-type>text/xml</mime-type>
272
    </mime-mapping>
273
  
274
    <welcome-file-list>
275
        <welcome-file>index.html</welcome-file>
276
    </welcome-file-list>
277
    
278
</web-app>
(43-43/47)