<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michael Gall - Internet Marketing and SEO Consultant - Melbourne &#187; subversion</title>
	<atom:link href="http://wakeless.net/tag/subversion/feed" rel="self" type="application/rss+xml" />
	<link>http://wakeless.net</link>
	<description></description>
	<lastBuildDate>Fri, 13 Apr 2012 07:40:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Installing Subversion on Windows</title>
		<link>http://wakeless.net/archive/2007/04/installing-subversion-on-windows</link>
		<comments>http://wakeless.net/archive/2007/04/installing-subversion-on-windows#comments</comments>
		<pubDate>Mon, 16 Apr 2007 02:26:42 +0000</pubDate>
		<dc:creator>Michael Gall</dc:creator>
				<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[ntlm]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[version-control]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://wakeless.net/archive/2007/04/installing-subversion-on-windows</guid>
		<description><![CDATA[I&#8217;m sure there are many many guides to install Subversion, however I&#8217;m going to document the process briefly here for completeness. Installing the actually service is a fairly simple process, download the latest windows package from here. Run this like you would install any other install program. This puts all the necessary executables on your [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure there are many many guides to install Subversion, however I&#8217;m going to document the process briefly here for completeness. Installing the actually service is a fairly simple process, download the latest windows package from <a href="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91">here</a>. Run this like you would install any other install program. This puts all the necessary executables on your system and sets your path so that you can access these. Now to set up a repository, use the <code>svnadmin create &lt;reponame&gt;</code> This places a folder in with the new database in your current working directory. This is the basic procedure for creating any new repository, unfortunately it is inaccessible by any means other than direct file access.</p>
<p>For network access, there are 2 options, HTTP or Subversion&#8217;s own protocol. HTTP is the protocol generally used for the repository&#8217;s however, the svn protocol requires much less setting up. In fact, all that is needed to get it up and running is the command <code>svnserve -r <repository directory> -d</repository></code>. This is then accessible across the network with the repository address svn://hostname/pathrelativetotherepodir. <strong>Easy!</strong></p>
<p>Setting up the HTTP access is a little more complicated, there is an <a href="http://svn.spears.at/">elaborate howto</a> already written. So I&#8217;m just going to rush over it all. First thing&#8217;s first, download and install the <a href="http://httpd.apache.org/download.cgi">Apache HTTP Server</a>. Now you must enable the svn modules in apache, this entails copying the <strong>mod_authz_svn.so</strong> and <strong>mod_dav_svn.so</strong> modules out of the Subversion install directory and into the Apache modules directory and enabling them in the <strong>httpd.conf</strong>. This is done by adding </p>
<p><code>    LoadModule  dav_module             modules/mod_dav.so<br />
    LoadModule  dav_svn_module         modules/mod_dav_svn.so<br />
    LoadModule  authz_svn_module       modules/mod_authz_svn.so</code></p>
<p>to it. While you are at it, add a line including a subversion configuration file to <strong>httpd.conf</strong> that looks like <br /><code>  Include c:/etc/subversion.conf</code><br /> This means that any further edits to the httpd.conf regarding subversion can be performed there.</p>
<p>Now to put the finishing touches edit the subversion.conf file you are pointing to and add directives like the following.</p>
<p><code>&lt;location /project1&gt;<br />
  DAV svn<br />
  SVNPath C:/Repositories/project1</p>
<p>  AuthType Basic<br />
  AuthName "Subversion Project1 repository"<br />
  AuthUserFile c:/etc/svn-auth-file</p>
<p>  Require valid-user</p>
<p>  AuthzSVNAccessFile c:/etc/svn-acl<br />
&lt;/location&gt;</code></p>
<p> This will set up the repository at http://localhost/project1 and give it password protected access according to an apache style password file and a <a href="http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.auth">subversion acl file</a>.</p>
<p> Normally I would set this up to be controlled with Windows based authentication which isn&#8217;t too much of a hassle, you must download the <a href="http://tortoisesvn.tigris.org/mod_auth_sspi.zip">sspi authentication module for apache</a> and enable it in your httpd.conf. with this line <br />
<code>LoadModule sspi_auth_module   modules/mod_auth_sspi.so</code><br /> br/><br />
then change your subversion.conf file to this&#8230; <br />
<code>&lt;location /project1&gt;<br />
  DAV svn<br />
  SVNPath C:/Repositories/project1</p>
<p>    # authentication<br />
    AuthName "Subversion Authentication"<br />
    AuthType SSPI<br />
    SSPIAuth On<br />
    SSPIAuthoritative On<br />
    SSPIDomain DOMAIN<br />
    SSPIOfferBasic On<br />
    Require valid-user</p>
<p>    # authorization<br />
   AuthzSVNAccessFile c:/etc/svn-acl<br />
&lt;/location&gt;</code></p>
<p> Bear in mind the DOMAIN should be changed to your windows domain.</p>
<p>Changing the access lists is still exactly the same as it was outlined in the SVN manual however, users should be specified by their full names ie. <code>WAKELESS\michael</code></p>
]]></content:encoded>
			<wfw:commentRss>http://wakeless.net/archive/2007/04/installing-subversion-on-windows/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

