Sign inSign up

emunhi/subversion

By emunhi

•Updated almost 8 years ago

Image
0

139

emunhi/subversion repository overview

yum -y remove subversion* && yum -y install subversion mod_dav_svn

⁠vi /etc/httpd/conf.modules.d/10-subversion.conf

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

DAV svn SVNParentPath /emc/repos SVNListParentPath on
## Digest 인증
AuthType Digest
AuthName "Digest Auth"
AuthUserFile /etc/httpd/conf/.htdigest
AuthzSVNAccessFile /emc/auth
Require valid-user
----------------------------------------------------------------------------- mkdir -p /emc/repos svnadmin create /emc/repos/spWeb

chown -R apache:apache /emc/repos/spWeb cp /emc/repos/spWeb/conf/authz /emc/auth

⁠vi /emc/auth

[groups] admin=admin repo1Group=user1

[/] @admin=rw

[repo1:/] @repo1Group=rw


htdigest -c /etc/httpd/conf/.htdigest "Digest Auth" user1

Tag summary

Content type

Image

Digest

Size

205.1 MB

Last updated

almost 8 years ago

docker pull emunhi/subversion