/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>
文章標籤
創作者介紹
創作者 SparkTsai 的頭像
SparkTsai

史巴克點菜館

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