close
/etc/httpd/conf.d/subversion.conf
 
#
# To create a new repository "http://localhost/repos/stuff" using
# this configuration, run as root:
#
#   # cd /var/www/svn
#   # svnadmin create stuff
#   # chown -R apache.apache stuff
#   # chcon -R -t httpd_sys_content_t stuff
#

#<Location /repos>
#   DAV svn
#   SVNParentPath /var/www/svn
#
#   # Limit write permission to list of valid users.
#   <LimitExcept GET PROPFIND OPTIONS REPORT>
#      # Require SSL connection for password protection.
#      # SSLRequireSSL
#
#      AuthType Basic
#      AuthName "Authorization Realm"
#      AuthUserFile /path/to/passwdfile
#      Require valid-user
#   </LimitExcept>
#</Location>

<Location /svn>
    DAV svn
    SVNListParentPath on
    SVNParentPath /var/svn
    AuthType Basic
    AuthName "Subversion Repository"
    #AuthUserFile /etc/svn/svn.user
    #AuthzSVNAccessFile /var/svn/test/conf/authz
    AuthzSVNAccessFile /etc/svn/svn.access
    AuthzLDAPAuthoritative off
    AuthBasicProvider ldap
    AuthLDAPURL "ldap://localhost/ou=edu,dc=shuttle,dc=com?cn"
    Require valid-user
</Location>
arrow
arrow
    文章標籤
    OpenLDAP Subversion Integration
    全站熱搜

    SparkTsai 發表在 痞客邦 留言(0) 人氣()