I set up subversion on my Windows 2008 server and it works fine locally, but when on a remote machine, I would like to be able to access my repository by using the URL of a website hosted on my server. Any idea how I can set that up?
+4
A:
I don't think Subversion offers any integration into IIS - according to this 2008 mailing list post, there aren't even plans - , but when you're on a Windows machine, why not use VisualSVN?
It builds on a stripped down Apache internally, is set up within minutes, and offers a great, simple interface to managing repos and users.
Pekka
2010-04-04 19:45:34
+1
A:
There is no need for IIS. You can just use the svnserve executable included with subversion. You could install it on the same machine as your webserver, and serve both http://example.com
and svn://example.com
that way. See the section svnserve, a Custom Server in the excellent subversion book.
Wim Coenen
2010-04-04 19:46:39
Correct me if I'm wrong, but from what little experience I have with it, svnserve is very limited in some areas: No fine-grained user access control (it's either read, write, or nothing), you need to run a separate instance for each repository etc.
Pekka
2010-04-04 19:49:28
@Pekka: The fine grained authorization mechanism is the same for svnserve as for apache: an authz file. But there are indeed some disadvantages to svnserve: no choice in the authentication mechanism, no encryption unless tunneled over SSH, no logging and no repository browsing with a webbrowser. OTOH it is much simpler to set up than apache, and the protocol is faster.
Wim Coenen
2010-04-04 19:55:07
@Wim thanks for clarifying, I too had the feeling that it's a great lightweight alternative when you don't need all the bells and whistles. On Windows, though, if resources are not an issue, VisualSVN is hard to beat IMO.
Pekka
2010-04-04 20:02:39