Project

General

Profile

Redmine +svn : Error 501 "Not Implemented" » redmine.conf

Jean-Luc Pinardon, 2009-01-06 17:21

 
1
   PerlLoadModule Apache2::Authn::Redmine
2
   <Location /svn>
3
     DAV svn
4
     SVNParentPath "/var/svn" 
5

    
6
     AuthType Basic
7
     AuthName CCMProcessEnvironment
8
#	AuthUserFile /var/svn/.svnpass
9
     Require valid-user
10

    
11
     PerlAccessHandler Apache::Authn::Redmine::access_handler
12
     PerlAuthenHandler Apache::Authn::Redmine::authen_handler
13

    
14
     ## for mysql
15

    
16
     RedmineDSN "DBI:mysql:database=redmine;host=localhost"
17
     RedmineDbUser "redmine"
18
     RedmineDbPass "RCdlB!"
19
#PerlSetVar dsn "DBI:mysql:database=redmine;host=localhost"
20
#PerlSetVar db_user "redmine"
21
#PerlSetVar db_pass "RCdlB!"
22
  </Location>
23

    
24
  # a private location in read only mode to allow Redmine browsing
25
  <Location /svn-private>
26
    DAV svn
27
    SVNParentPath "/var/svn" 
28
    Order deny,allow
29
    Deny from all
30
    # only allow reading orders
31
    <Limit GET PROPFIND OPTIONS REPORT>
32
      Allow from 127.0.0.1
33
    </Limit>
34
  </Location>
35

    
(2-2/2)