shuijingping 发表于 2017-1-6 09:46:27

centos5.5 apache+svn安装配置

  系统自带的centos卸载掉。
  重新安装参考
  http://www.iteye.com/topic/470516
  http://www.cnblogs.com/dengqiye/archive/2009/07/11/1521464.html
  http://read.newbooks.com.cn/info/181191.html
  http://altand.iteye.com/blog/1275383
  http://tonyty163.blog.iyunv.com/721698/758835
  安装到最后,可以运行了。但是无论怎样都是403的错误,郁闷死了。
  后来发现是authz.conf,就是apache httpd.conf里面引入的

<Location /svn/>
DAVsvn
SVNListParentPath on
#SVNPath /opt/svndata/
SVNParentPath /opt/svndata/
AuthzSVNAccessFile /opt/local/svn/authz.conf
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /opt/local/svn/passwd.conf
Require valid-user
</Location>
   authz.conf 文件的内容,不要有注释,特别是#开头。我就是这个问题,搞了几个小时。


admin=user1
[/]
@admin = rw

@admin = rw

   
页: [1]
查看完整版本: centos5.5 apache+svn安装配置