From 54855687647b045a3b77d4e351aff78aa60dff39 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sat, 26 Jun 2010 04:01:13 +0000 Subject: [PATCH] * jetty.xml: Add info on how to configure for following symlinks --- installer/resources/jetty.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/installer/resources/jetty.xml b/installer/resources/jetty.xml index e6d44b1abd..69909ef6bb 100644 --- a/installer/resources/jetty.xml +++ b/installer/resources/jetty.xml @@ -16,6 +16,7 @@ <!-- if you have a high-traffic site and get a lot of warnings. --> <!-- * Uncomment the addWebApplications section to use to enable --> <!-- war files placed in the webapps/ dir. --> +<!-- * Uncomment the line to allow Jetty to follow symlinks --> <!-- --> <!-- I2P uses Jetty 5.1.15. We have no plans to upgrade to Jetty 6, due to --> <!-- the significant changes in the API. If you need web server features not --> @@ -107,6 +108,16 @@ --> + <!-- =============================================================== --> + <!-- Uncomment this to allow Jetty to follow symlinks --> + <!-- Jetty declares this to be a security risk, use with care --> + <!-- See also http://docs.codehaus.org/display/JETTY/How+to+enable+serving+aliased+files --> + <!-- =============================================================== --> + <!-- UNCOMMENT TO ACTIVATE + <Set name="checkAliases" class="org.mortbay.util.FileResource" type="boolean">false</Set> + --> + + <!-- =============================================================== --> <!-- Configure the Contexts --> <!-- =============================================================== --> -- GitLab