Last active
December 15, 2015 10:19
-
-
Save roymax/5244410 to your computer and use it in GitHub Desktop.
redmine svn together
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PerlLoadModule Apache::Redmine | |
<Location /svn> | |
DAV svn | |
# SVNPath /srv/svn/repo | |
SVNParentPath /srv/svn | |
AuthName "Subversion repository" | |
AuthUserFile /srv/svn/htpasswd | |
Require valid-user | |
Order deny,allow | |
Deny from all | |
Satisfy any | |
SVNPathAuthz off | |
PerlAccessHandler Apache::Authn::Redmine::access_handler | |
PerlAuthenHandler Apache::Authn::Redmine::authen_handler | |
AuthType Basic | |
AuthName "Redmine SVN Repository" | |
#read-only access | |
<Limit GET PROPFIND OPTIONS REPORT> | |
Require valid-user | |
Allow from 127.0.0.1 | |
Allow from 192.168.9.16 | |
# Allow from another-ip | |
Satisfy any | |
</Limit> | |
# write access | |
<LimitExcept GET PROPFIND OPTIONS REPORT> | |
Require valid-user | |
</LimitExcept> | |
## for mysql | |
RedmineDSN "DBI:mysql:database=redmine;host=127.0.0.1" | |
## for postgres | |
# RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server" | |
## for SQLite3 | |
# RedmineDSN "DBI:SQLite:dbname=database.db" | |
RedmineDbUser "redmine" | |
RedmineDbPass "redmine" | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment