Skip to content

Instantly share code, notes, and snippets.

@edavis10
Created September 29, 2008 20:04
Show Gist options
  • Save edavis10/13662 to your computer and use it in GitHub Desktop.
Save edavis10/13662 to your computer and use it in GitHub Desktop.
PerlLoadModule Apache::Authn::Redmine
<Location /svn>
DAV svn
SVNParentPath "/tmp/var/svn"
AuthType Basic
AuthName redmine
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
## for mysql
RedmineDSN "DBI:mysql:database=redmine_development;host=localhost"
## for postgres
# RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server"
RedmineDbUser "redmine"
RedmineDbPass "password"
## Optional where clause (fulltext search would be slow and
## database dependant).
# RedmineDbWhereClause "and members.role_id IN (1,2)"
## Optional credentials cache size
# RedmineCacheCredsMax 50
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment