Warning: curl_exec() has been disabled for security reasons in /pub/host/sunboyu/sunboyu/www/wp-includes/http.php on line 1022
SVN配置使用 » Blog Archive 一个程序猿 孙小一,孙小二,PHP,MYSQL,LINUX,APACHE,原创技术,扯淡

SVN配置使用

作者 : admin 于 2008-08-09 16:16:18 标签: ,
2008
08-9

接这个 http://www.sunboyu.cn/2008/07/26/subversion-150-%E7%BC%96%E8%AF%91%E5%8F%82%E6%95%B0.shtml

安装完成后,可以建立仓库  svnadmin create /opt/$path

配置apache

<Location /svn>
DAV svn
SVNParentPath /opt/httpd-2.2.9/htdocs/repos
SVNListParentPath on
AuthzSVNAccessFile /opt/httpd-2.2.9/htdocs/repos/accessfile
Require valid-user
AuthType Basic
AuthName “Svn”
AuthUserFile /opt/httpd-2.2.9/htdocs/repos/passwordfile
</Location>

生成password的方法 htpasswd -s /$file username

这样就可以建立一个密码文件,在httpd中调用。在调试的时候,权限是大事

发表评论




XHTML:你可以使用的标签: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(若看不到验证码,请重新加载页面。)