ift713-main-host/openhab/openhab_userdata/etc/jetty-web.xml
2023-12-09 16:51:16 -05:00

36 lines
1.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2022 OPS4J.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<!--
The only working way to configure a context in pax-web-jetty is to:
- put WEB-INF/jetty-web.xml or WEB-INF/web-jetty.xml into the WAB/WAR, or
- put it into know location and configure org.ops4j.pax.web.context.file option
- use root element <Configure> with id="Context", as that's the ID under which we can find an instance
of org.ops4j.pax.web.service.jetty.internal.PaxWebServletContextHandler
-->
<Configure id="Context">
<!--
<Set name="virtualHosts">
<Array type="java.lang.String">
<Item>localhost</Item>
</Array>
</Set>
-->
</Configure>