读书人

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

发布时间: 2012-03-26 15:46:56 作者: rapoo

windows下apache和svn可否安装在两台机器上
网上的文章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,谢谢

[解决办法]
支持一下
本地能打开
\\172.20.38.68\\svn\\PROJECT\\format文件吗?

[解决办法]
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

这些内容应该有用
[解决办法]
可以
[解决办法]
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的大牛来解释解释。

读书人网 >CVS SVN

热点推荐