From 7eaea57f8d6923eefc29713178aef9413159a456 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 21 Oct 2014 11:02:29 +0900 Subject: [PATCH] Fix broken formatting in Tomcat reverse proxy config documentation Remove the unnecessary [TIP] block. Fix the formatting of links. Enclose example settings in backticks. Add an anchor to make it easier to link the section from the release notes. Change-Id: I46dcc5cb6afc24c6717885a5ca5f1faa04d7a746 --- Documentation/install-j2ee.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Documentation/install-j2ee.txt b/Documentation/install-j2ee.txt index 4f438e5675..f7252e0961 100644 --- a/Documentation/install-j2ee.txt +++ b/Documentation/install-j2ee.txt @@ -109,15 +109,18 @@ Under Jetty, restarting the web application (e.g. after modifying `system_config`) is as simple as touching the context config file: `'$JETTY_HOME'/contexts/gerrit.xml` +[[tomcat]] == Tomcat 7.x -[TIP] -If reverse proxy is used in front of Tomcat then see the configuration -instructions for encoding slashes link:config-reverseproxy.html. Otherwise -Tomcat must be configured to encode slashes, by adding --Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true to -CATALINA_OPTS environment variable. Excerpt from the documentation -https://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html: +If a reverse proxy is used in front of Tomcat then see the +link:config-reverseproxy.html[configuration instructions for encoding +slashes]. Otherwise Tomcat must be configured to encode slashes, by adding +`-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true` to the +`CATALINA_OPTS` environment variable. + +Excerpt from the +link:https://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html[ +documentation]: ---- Property org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH: