From c869d3adc4a2e238e94c49b8998bf5fc3fd422e2 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Tue, 15 Mar 2016 14:08:28 +0000 Subject: [PATCH] jetty config to disable context listing --- installer/resources/eepsite/jetty.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/installer/resources/eepsite/jetty.xml b/installer/resources/eepsite/jetty.xml index 61734c4328..ff05e3e64f 100644 --- a/installer/resources/eepsite/jetty.xml +++ b/installer/resources/eepsite/jetty.xml @@ -272,6 +272,14 @@ </Call> </Ref> + <!-- ===================== --> + <!-- DefaultHandler config --> + <!-- http://stackoverflow.com/questions/4202275/how-to-prevent-jetty-from-showing-context-related-information --> + <!-- ===================== --> + <Ref id="DefaultHandler"> + <Set name="showContexts">false</Set> + </Ref> + <!-- =========================================================== --> <!-- Configure Authentication Realms --> <!-- Realms may be configured for the entire server here, or --> -- GitLab