Created
May 31, 2012 10:07
-
-
Save z2z/2842403 to your computer and use it in GitHub Desktop.
redmine
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
# For Redmine Turnkeylinux | |
# save it as "redmine" without quote and file extension | |
# put in /etc/apache2/conf.d/ | |
# /svn location for users | |
PerlLoadModule Apache::Redmine | |
<Location /svn> | |
DAV svn | |
SVNParentPath "/srv/repos/svn" | |
Order deny,allow | |
Deny from all | |
Satisfy any | |
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.0.109 # CHANGE TO YOUR VM IP | |
Satisfy any | |
</Limit> | |
# write access | |
<LimitExcept GET PROPFIND OPTIONS REPORT> | |
Require valid-user | |
</LimitExcept> | |
## for mysql | |
RedmineDSN "DBI:mysql:database=railsapp_production;host=localhost" | |
## for postgres | |
# RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server" | |
## for SQLite3 | |
# RedmineDSN "DBI:SQLite:dbname=database.db" | |
RedmineDbUser "root" | |
RedmineDbPass "*****" | |
# CHANGE TO YOUR MySql username and PASSWORD | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment