LimitRequestFieldSize 12392

LoadModule perl_module        modules/mod_perl.so
PerlLoadModule Apache::Authn::Redmine

LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

RequestHeader edit Destination ^https http early
<Location /svn>
  LimitXMLRequestBody 0

  DAV svn
  SVNParentPath /var/lib/svn
  SVNListParentPath on
#  SVNIndexXSLT "/svnindex/svnindex.xsl"
#  SVNPathAuthz off
     # http://www.redmine.org/boards/2/topics/7593

  AuthType Basic
  AuthName Subversion
  PerlAccessHandler Apache::Authn::Redmine::access_handler
  PerlAuthenHandler Apache::Authn::Redmine::authen_handler

  RedmineDSN "DBI:mysql:database=redmine;host=127.0.0.1"
  RedmineDbUser "redmine"
  RedmineDbPass ""

  ## Optional where clause (fulltext search would be slow and
  ## database dependant).
#  RedmineDbWhereClause "and exists (select * from groups_users
#where users.id = groups_users.user_id and groups_users.group_id
#= (select id from users where type = 'Group' and lastname
#= 'committers'));"
  ## Optional credentials cache size
  # RedmineCacheCredsMax 50

  SetEnvIf REQUEST_URI "^/svn/?$" parent
  <RequireAny>
    Require env parent
    Require valid-user
  </RequireAny>

</Location>
