From 54cc7d7c2483d7ca100a5db47f4e1e98bd97c7fe Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 25 Sep 2014 09:27:04 -0400 Subject: [PATCH] Merged #187 "Restrict Gitblit cookie to the context path" --- src/site/upgrade_war.mkd | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/site/upgrade_war.mkd b/src/site/upgrade_war.mkd index dd9ba64..34ffd75 100644 --- a/src/site/upgrade_war.mkd +++ b/src/site/upgrade_war.mkd @@ -1,5 +1,5 @@ ## Upgrading Gitblit WAR (1.2.1+) -1. Make sure your `WEB-INF/web.xml` *baseFolder* context parameter is not `${contextFolder}/WEB-INF/data`!<br/> +1. Make sure your `WEB-INF/web.xml` *baseFolder* context parameter is not `${contextFolder}/WEB-INF/data`! If it is, move your `WEB-INF/data` folder to a location writeable by your servlet container. 2. Deploy new WAR 3. Edit the new WAR's `WEB-INF/web.xml` file and set the *baseFolder* context parameter to your external baseFolder. @@ -15,3 +15,6 @@ 5. Manually apply any changes you made to your original web.xml file to the gitblit.properties file you copied to your data folder 6. Edit the new WAR's `WEB-INF/web.xml` file and set the *baseFolder* context parameter to your external baseFolder. +## Upgrading Gitblit WAR (1.4.0+) + +The *baseFolder* context parameter has been replaced with a *baseFolder* JNDI env-entry. This means you can define the *baseFolder* from the administrative console of your servlet container and not have to manipulate anything in the web.xml file. \ No newline at end of file -- Gitblit v1.9.1