人的头脑太复杂,时间过得久,有时候连自己也被自己骗了,记下来才是最真实的..
2006年12月1日 13:54
假设的环境:
apache2.2 配置的时候要 –enable-dav
subversion http://subversion.tigris.o...
./configure –with-apxs=/path/to/your/apache/apxs –prefix=/path/to/install/svn
安装比较简单,网上有很多现成的资料,但是在配置的时候,我碰到了一个奇怪的问题:
Error: PROPFIND of ‘/referer’: 301 Moved Permanently (http://svn.iyi.cn)
配置的时候要注意,VirtualHost和Location不要重叠,比如

DocumentRoot /www/svn
ServerName svn.iyi.cn

DAV svn
SVNParentPath /www/svn

这样,当问http://svn.iyi.cn/foo/bar时,apache就不知道是访问DocumentRoot的/www/svn/foo/bar,还是通过mod_dav_svn访问名为/foo/bar的repository,从而导致301错误。
详见:http://subversion.tigris.o...
把SVNPath设为另外的路径即可,比如/data/svn。
我要 [保存此页] [收藏此页] [复制此链接QQ/Msn发送]
收藏到 [天天] [和讯] [我摘] [天极] [新浪] [博采] [Del.icio.us]
我们推荐您 快去试试吧!
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]