From 486ee115abb831b2ec78be6777fb1bca9e931df0 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 25 Oct 2011 17:23:47 -0400 Subject: [PATCH] Documentation. Changed status RPC protection. Status tab for Manager. --- docs/03_faq.mkd | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/docs/03_faq.mkd b/docs/03_faq.mkd index fdc2020..3e99fb7 100644 --- a/docs/03_faq.mkd +++ b/docs/03_faq.mkd @@ -61,6 +61,15 @@ If you are using Apache mod_proxy, specify [AllowEncodedSlashes NoDecode](http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes). +### Running Gitblit on Tomcat + +Tomcat takes the extra precaution of [disallowing embedded slashes by default](http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10). This breaks Gitblit urls. +You have a few options on how to handle this scenario: + +1. [Tweak Tomcat](http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10) +2. *web.mountParameters = false* and use non-pretty, parameterized urls +3. *web.forwardSlashCharacter = !* which tells Gitblit to use **!** instead of **/** + ## General Interest Questions ### Gitblit? What kind of name is that? -- Gitblit v1.9.1