<?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>Ben McGraw's Egometry &#187; svn</title>
	<atom:link href="http://www.egometry.com/tags/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.egometry.com</link>
	<description>cogito ergo stfu</description>
	<lastBuildDate>Wed, 28 Jul 2010 20:12:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>&#8220;Could not open the requested SVN filesystem&#8221;</title>
		<link>http://www.egometry.com/tech/could-not-open-the-requested-svn-filesystem/</link>
		<comments>http://www.egometry.com/tech/could-not-open-the-requested-svn-filesystem/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 02:35:41 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#8220;Could not open the requested SVN filesystem&#8221; Sometimes problems happen. Sometimes problems happen when you install svn with apache 2 and dav. Sometimes after installing all the binaries and editing your apache configuration file (and, naturally, restart apache), you get the following error: svn: Could not open the requested SVN filesystem Sometimes this happens. Usually [...]]]></description>
			<content:encoded><![CDATA[<h3>&#8220;Could not open the requested SVN filesystem&#8221;</h3>
<p>Sometimes problems happen.</p>
<p>Sometimes problems happen when you install svn with apache 2 and dav.</p>
<p>Sometimes after installing all the binaries and editing your apache configuration file (and, naturally, restart apache), you get the following error:</p>
<pre>svn: Could not open the requested SVN filesystem</pre>
<p>Sometimes this happens.</p>
<p><i>Usually</i> it means &#8220;lol, you need to chown/chgrp the repos to your apache&#8217;s user&#8221;.  Usually.  And because this is the usual case, that&#8217;s what all the googles I check suggested.</p>
<p>However, it bears mention that I&#8217;m, in fact, somewhat experienced at this point in Linux administration. I chown.  That&#8217;s not even a pun.</p>
<p>The rub is that&#8217;s a catch-all for any read problems.  The error in my case was &#8220;lol, you&#8217;re pointing to the wrong directory with the wrong directive, noob.&#8221;</p>
<p>To wit, I was using (in my apache configuration file):</p>
<pre>
<span style="color: #AAAAAA;">&lt;Location /svn>
        DAV svn</span>
        SVNPath /repos/svn
<span style="color: #AAAAAA;">#...
&lt;/Location></span></pre>
<p>&#8230;when I actually wanted&#8230;</p>
<pre>
<span style="color: #AAAAAA;">&lt;Location /svn>
        DAV svn</span>
        SVNParentPath /repos/svn
<span style="color: #AAAAAA;">#...
&lt;/Location></span></pre>
<p>I wanted <b>SVNParentPath</b> because it was a directory containing many repositories, instead of a single repository.  How simple.  Yet, while doing 2 am hungover-style administration, somewhat frustrating.</p>
<h3>An aside about Linux paths and URLs</h3>
<p>This conf snip is a good example of something I find <s>frustrating</s> <s>annoying</s> understandable-but-sometimes-confusing.  Unix filesystem paths, like http urls, use the forward-slash (/) instead of the backslash (\).  This conflation of slashing makes them look like each other in configuration files.  This mainly becomes an issue for neophytes tinkering with apache for the first (and perhaps subsequent) times.</p>
<p>For example, in the above conf-snippets, the <b>/svn</b> refers to <a href=http://www.verge-rpg.com/svn>http://www.verge-rpg.com/svn</a>, a Location defined in apache saying &#8220;hey, I exist to teh internots!&#8221;</p>
<p>Meanwhile, <b>/repos/svn</b> refers to a folder on the server&#8217;s filesystem.  It can be easy to think, in this context, that something might be at http://www.verge-rpg.com/repos/svn on the internet.</p>
<p>Anyone with any small grasp of the nature of what&#8217;s going on in this task will be able to separate the two mentally, since here&#8217;s we&#8217;re trying to make a bridge between clients via the internet and the svn repo files on the server, but the slashy-syntax can lead to confusion.  I know back when I was a young adminling unwrapping his first local development install of apache this stuff caused no end of heartache and strife.</p>
<p>Anyway, I&#8217;m not saying MS-style backward-slashes are better.  In fact, they have their own brand of obnoxiousness in the form of unintended escape sequences.  But in this instance, backslashes would highlight the difference between a webpath and a filepath.</p>
<p>This digression is what happens when someone likes aphorisms <i>and</i> being long-winded.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/could-not-open-the-requested-svn-filesystem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
