Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Felix Meschberger | 4a4b032 | 2011-12-05 15:22:27 +0000 | [diff] [blame] | 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one |
| 4 | or more contributor license agreements. See the NOTICE file |
| 5 | distributed with this work for additional information |
| 6 | regarding copyright ownership. The ASF licenses this file |
| 7 | to you under the Apache License, Version 2.0 (the |
| 8 | "License"); you may not use this file except in compliance |
| 9 | with the License. You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, |
| 14 | software distributed under the License is distributed on an |
| 15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | KIND, either express or implied. See the License for the |
| 17 | specific language governing permissions and limitations |
| 18 | under the License. |
| 19 | --> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 20 | <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" |
| 21 | "http://java.sun.com/dtd/web-app_2_3.dtd"> |
| 22 | <web-app> |
| 23 | |
| 24 | <listener> |
| 25 | <listener-class>org.apache.felix.http.samples.bridge.StartupListener</listener-class> |
| 26 | </listener> |
| 27 | |
Felix Meschberger | a996e90 | 2011-01-10 08:14:05 +0000 | [diff] [blame] | 28 | <listener> |
| 29 | <listener-class>org.apache.felix.http.proxy.ProxyListener</listener-class> |
| 30 | </listener> |
| 31 | |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 32 | <servlet> |
| 33 | <servlet-name>proxy</servlet-name> |
| 34 | <servlet-class>org.apache.felix.http.proxy.ProxyServlet</servlet-class> |
| 35 | <load-on-startup>1</load-on-startup> |
| 36 | </servlet> |
| 37 | |
| 38 | <servlet-mapping> |
| 39 | <servlet-name>proxy</servlet-name> |
| 40 | <url-pattern>/*</url-pattern> |
| 41 | </servlet-mapping> |
| 42 | |
| 43 | </web-app> |