Project

General

Profile

Problem about svn and redmine (in a subdirectory) » to-up-redmine-svn.conf

Oktay Arslan, 2011-01-08 00:34

 
# /svn location for users



PerlLoadModule Apache::Redmine

<Location /svn>

DAV svn
SVNListParentPath on
SVNParentPath "/opt/redmine/public/svn/"
# Order deny,allow
# Deny from all
# Satisfy any

AuthType Basic
AuthName "DCSL Redmine SVN Repository"
AuthUserFile /etc/apache2/dav_svn.passwd

PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler

#read-only access
#<Limit GET PROPFIND OPTIONS REPORT>
# Require valid-user

# Allow from 127.0.0.1
# Allow from xxx.xxx.xxx.xxx

# Allow from another-ip
# Satisfy any
# </Limit>

# write access
# <LimitExcept GET PROPFIND OPTIONS REPORT>

Require valid-user

# ++++
# Satisfy any
# ++++
# </LimitExcept>

## for mysql
# RedmineDSN "DBI:mysql:database=redmine;host=localhost"
## for postgres
RedmineDSN "DBI:Pg:dbname=redmine;host=localhost"
## for SQLite3
# RedmineDSN "DBI:SQLite:dbname=database.db"

RedmineDbUser "redmine"
RedmineDbPass "redmine"
</Location>


<Location /sys>
Order deny,allow
Allow from xxx.xxx.xxx.xxx
Deny from all
</Location>



(1-1/2)