Facebook Twitter Gplus RSS
 
 
Home » CentOS » SVN Apache LDAP configuration
formats

SVN Apache LDAP configuration

Published on March 9th, 2009

Apache Configuration

Create a Apache configuration file for Subversion

# vi /etc/httpd/conf.d/subversion.conf


LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so



  # Enable Subversion
    DAV svn

  # Directory containing all repository for this path
    SVNParentPath			/opt/svn/
    SVNAutoversioning			on

  # LDAP Authentication & Authorization is final; do not check other databases
    AuthBasicProvider			ldap
    AuthzLDAPAuthoritative		off

  # Do basic password authentication in the clear
    AuthType				Basic

  # The name of the protected area or "realm"
    AuthName				"Subversion Repository"

  # The LDAP query URL
    AuthLDAPURL				"ldap://:389/dc=example,dc=co.za

  # Require authentication for this Location
    Require valid-user




 
  • Rishishingan

     http://reddragon-linux.blogspot.com/2011/05/linux-apache-directories-with-ldap.html

© [How2CentOS]
credit