lib/rubyfox/server/data/lib/jetty/etc/jetty-ipaccess.xml in rubyfox-server-2.11.1.0 vs lib/rubyfox/server/data/lib/jetty/etc/jetty-ipaccess.xml in rubyfox-server-2.12.1.0

- old
+ new

@@ -1,31 +1,28 @@ <?xml version="1.0"?> -<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd"> +<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> <!-- =============================================================== --> -<!-- Mixin the Statistics Handler --> +<!-- The IP Access Handler --> <!-- =============================================================== --> - <Configure id="Server" class="org.eclipse.jetty.server.Server"> - - <Get id="oldhandler" name="handler"/> - - <Set name="handler"> - <New id="IPAccessHandler" class="org.eclipse.jetty.server.handler.IPAccessHandler"> - <Set name="handler"><Ref refid="oldhandler"/></Set> - <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> - </Set> + <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>