Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > cc8cd4befbabcec4f2e9fb5c45175e1d > files > 24

jetty-9.4.14-1.v20181114.1.mga7.noarch.rpm

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">

<!-- =============================================================== -->
<!-- The IP Access Handler                                           -->
<!-- =============================================================== -->

<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Call name="insertHandler">
    <Arg>
      <New id="IPAccessHandler" class="org.eclipse.jetty.server.handler.IPAccessHandler">
	<Set name="white">
	  <Array type="String">
	    <Item>127.0.0.1</Item>
	    <Item>127.0.0.2/*.html</Item>
	  </Array>
	</Set>
	<Set name="black">
	  <Array type="String">
	    <Item>127.0.0.1/blacklisted</Item>
	    <Item>127.0.0.2/black.html</Item>
	  </Array>
	</Set>
	<Set name="whiteListByPath">false</Set>
      </New>
    </Arg>
  </Call>
</Configure>