From 896c533de882d729a6fd8a30e08fd5a9e9eec27d Mon Sep 17 00:00:00 2001 From: James Moger Date: Sat, 18 Jun 2011 09:22:05 -0400 Subject: [PATCH] Map gitservlet from web.xml and configure it from gitblit properties. --- src/WEB-INF/web.xml | 14 +++----------- src/com/gitblit/GitBlitServer.java | 10 ---------- src/com/gitblit/GitServlet.java | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 21 deletions(-) create mode 100644 src/com/gitblit/GitServlet.java diff --git a/src/WEB-INF/web.xml b/src/WEB-INF/web.xml index d5d3288f..26615902 100644 --- a/src/WEB-INF/web.xml +++ b/src/WEB-INF/web.xml @@ -15,23 +15,15 @@ MUST match: * GitFilter * com.gitblit.Constants.GIT_PATH - * Wicket Filter ignorePaths parameter --> GitServlet - org.jgit.http.transport.GitServlet - - base-path - c:/git - - - export-all - 1 - + com.gitblit.GitServlet GitServlet /git/* - STRIP --> +