]> source.dussan.org Git - gitblit.git/commitdiff
Use multiple mappings for the git servlet instead of multiple instances
authorJames Moger <james.moger@gitblit.com>
Fri, 13 Dec 2013 13:12:47 +0000 (08:12 -0500)
committerJames Moger <james.moger@gitblit.com>
Fri, 13 Dec 2013 13:12:47 +0000 (08:12 -0500)
Change-Id: I47adeaac142ca7ea5199a5c4c2164ffd9cc68551

src/main/java/WEB-INF/web.xml

index 8840805cc2237c51d78d45e32ab2471b4b27e0f7..8f51c21b69426def233eddb3ef4c56f130801206 100644 (file)
                <servlet-name>GitServlet</servlet-name>         \r
                <url-pattern>/git/*</url-pattern>\r
        </servlet-mapping>\r
-       <servlet>\r
-               <servlet-name>GitServlet2</servlet-name>\r
-               <servlet-class>com.gitblit.servlet.GitServlet</servlet-class>\r
-       </servlet>\r
        <servlet-mapping>\r
-               <servlet-name>GitServlet2</servlet-name>                \r
+               <servlet-name>GitServlet</servlet-name>         \r
                <url-pattern>/r/*</url-pattern>\r
        </servlet-mapping>\r
 \r
                <filter-name>GitFilter</filter-name>\r
                <url-pattern>/git/*</url-pattern>\r
        </filter-mapping>\r
-       <filter>\r
-               <filter-name>GitFilter2</filter-name>\r
-               <filter-class>com.gitblit.servlet.GitFilter</filter-class>\r
-       </filter>\r
        <filter-mapping>\r
-               <filter-name>GitFilter2</filter-name>\r
+               <filter-name>GitFilter</filter-name>\r
                <url-pattern>/r/*</url-pattern>\r
        </filter-mapping>\r
        \r