James Moger
2013-01-23 c7acc2e1fa86102bb87e715c8fe4e336329fbcc6
src/WEB-INF/web.xml
@@ -3,6 +3,30 @@
   xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
   <!-- The base folder is used to specify the root location of your Gitblit data.
         ${baseFolder}/gitblit.properties
         ${baseFolder}/users.conf
         ${baseFolder}/projects.conf
         ${baseFolder}/robots.txt
         ${baseFolder}/git
         ${baseFolder}/groovy
         ${baseFolder}/groovy/grape
         ${baseFolder}/proposals
      By default, this location is WEB-INF/data.  It is recommended to set this
      path to a location outside your webapps folder that is writable by your
      servlet container.  Gitblit will copy the WEB-INF/data files to that
      location for you when it restarts.  This approach makes upgrading simpler.
      All you have to do is set this parameter for the new release and then
      review the defaults for any new settings.  Settings are always versioned
      with a SINCE x.y.z attribute and also noted in the release changelog.
      -->
   <context-param>
      <param-name>baseFolder</param-name>
      <param-value>${contextFolder}/WEB-INF/data</param-value>
   </context-param>
   <!-- PARAMS --> 
    
   <!-- Gitblit Context Listener --><!-- STRIP    
@@ -99,6 +123,19 @@
   </servlet-mapping>   
   
   <!-- Robots.txt Servlet
       <url-pattern> MUST match:
         * Wicket Filter ignorePaths parameter -->
   <servlet>
      <servlet-name>RobotsTxtServlet</servlet-name>
      <servlet-class>com.gitblit.RobotsTxtServlet</servlet-class>
   </servlet>
   <servlet-mapping>
      <servlet-name>RobotsTxtServlet</servlet-name>
      <url-pattern>/robots.txt</url-pattern>
   </servlet-mapping>
   <!-- Git Access Restriction Filter
       <url-pattern> MUST match: 
         * GitServlet
@@ -202,7 +239,7 @@
                * PagesFilter <url-pattern>
                * PagesServlet <url-pattern>
                * com.gitblit.Constants.PAGES_PATH -->
            <param-value>git/,feed/,zip/,federation/,rpc/,pages/</param-value>
            <param-value>git/,feed/,zip/,federation/,rpc/,pages/,robots.txt</param-value>
        </init-param>
    </filter>
    <filter-mapping>