Skip to content

Instantly share code, notes, and snippets.

@z2z
Created May 31, 2012 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save z2z/2842403 to your computer and use it in GitHub Desktop.
Save z2z/2842403 to your computer and use it in GitHub Desktop.
redmine
# 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