LINUX(centos)SVN配置HTTP访问
安装 参考这个
https://lishuoboy.blog.csdn.net/article/details/126423606?spm=1001.2014.3001.5502
配置http访问,参考这个
https://www.freesion.com/article/8499463014/
对应配置文件
svn.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /axure>
DAV svn
SVNPath /var/svnrepos/axure
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /var/svnrepos/axure/conf/httppasswd
AuthzSVNAccessFile /var/svnrepos/axure/conf/authz
Satisfy all
Require valid-user
</Location>
httppasswd (命令行生成)
命令:htpasswd -b /var/svnrepos/axure/conf/httppasswd lishuo lishuo
lishuo:$apr1$IpUqxMaI$6loBe5Fnt5MfqahpzJrCn1