windows下apache和svn可否安装在两台机器上

wjhandboy 2008-04-14 05:09:34
网上的文章apache和subversion都是装在同一台机器上,
现在想分别安装在两台机器上,不知道能不能实现。
我试这把httpd.conf改成如下:
<Location /svn >
DAV svn
SVNParentPath \\172.20.38.68\svn
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile passwd
AuthzSVNAccessFile svnaccessfile
Require valid-user
</Location>

error.log里的信息是

[Mon Apr 14 16:49:52 2008] [error] [client 127.0.0.1] (20014)Error string not specified yet: Can't open file '\\172.20.38.68\\svn\\PROJECT\\format'
[Mon Apr 14 16:49:52 2008] [error] [client 127.0.0.1] Could not fetch resource information. [500, #0]
[Mon Apr 14 16:49:52 2008] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #720003]
[Mon Apr 14 16:49:52 2008] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #720003]

不知道哪位实现过这个功能?或者根本不能实现这个功能?
svn的初学者,请教各位xdjm,谢谢
...全文
182 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
Leonard61 2008-07-17
  • 打赏
  • 举报
回复
lz这是为什么啊?非得分开装么?
lz在机器A上装了apache,机器B上装了svnserver。
lz在A上设置了下面这样的路径:
SVNParentPath \\172.20.38.68\svn

也就是说,如果我们要获取数据,那么我们是访问机器A,因为apache在A上,然后A说,svnserver在B上,你去B那里吧。那么这个时候B怎么处理你的请求?所以B还是需要apache的。

一点想法,希望有懂apache的大牛来解释解释。
wjhandboy 2008-04-15
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 tongki_8 的回复:]
可以
[/Quote]
如果可以的话如何实现呢?
wjhandboy 2008-04-15
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 CMM2CMMI 的回复:]
For more details, please refer the file. Now, to access SVN via svn:// custom protocol either from the same machine or different machine, you can run svnserver using svnserve command. The syntax is as follows:

$ svnserve -d --foreground -r /home/svn
# -d -- daemon mode
# --foreground -- run in foreground (useful for debugging)
# -r -- root of directory to serve

For…
[/Quote]

这里只是一些基本的SVN启动,连接,提交的用法,而且还是通过svn://的,
我现在的需求是:
通过apache用http://访问,要求apache和subversion装在两台机器上。
tongki 2008-04-15
  • 打赏
  • 举报
回复
可以
cmm2cmmi 2008-04-15
  • 打赏
  • 举报
回复
For more details, please refer the file. Now, to access SVN via svn:// custom protocol either from the same machine or different machine, you can run svnserver using svnserve command. The syntax is as follows:

$ svnserve -d --foreground -r /home/svn
# -d -- daemon mode
# --foreground -- run in foreground (useful for debugging)
# -r -- root of directory to serve

For more usage details, please refer,
$ svnserve --help
Once you run this command, SVN starts listening on default port (3690). To access the project repository, you must run the following command:

$ svn co svn://hostname/myproject myproject --username user_name
Based on server configuration, it prompts for password. Once it is authenticated, it checks out the code from SVN repository. To synchronize the project repository with the local copy, you can run update sub-command. The syntax is as follows:

$ cd project_dir
$ svn update
For more details about using each SVN sub-command, you can refer the manual. For example, to learn more about co (checkout) command, please run:

$ svn co help

这些内容应该有用
wjhandboy 2008-04-15
  • 打赏
  • 举报
回复
回楼上,可以打开的。
cmm2cmmi 2008-04-14
  • 打赏
  • 举报
回复
支持一下
本地能打开
\\172.20.38.68\\svn\\PROJECT\\format文件吗?

1,279

社区成员

发帖
与我相关
我的任务
社区描述
软件工程 CVS/SVN
社区管理员
  • 版本控制社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧