<?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; debian</title>
	<atom:link href="http://www.egometry.com/tags/debian/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>
		<item>
		<title>Installing awffull on debian</title>
		<link>http://www.egometry.com/tech/installing-awffull-on-debian/</link>
		<comments>http://www.egometry.com/tech/installing-awffull-on-debian/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 23:36:23 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[awffull]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Installing awffull on debian I wanted the sexy newer beta version of awffull (because webalizer is&#8230; awful&#8230; and hasn&#8217;t been updated since 2002 and keeps spiders in your stats and stuff). Unfortunatly, this meant I had to not use apt-get for the first time in months. Here&#8217;s a redux of what a debian user needs [...]]]></description>
			<content:encoded><![CDATA[<h2>Installing awffull on debian</h2>
<p>I wanted the sexy newer beta version of <a href=http://www.stedee.id.au/awffull>awffull</a> (because <a href=http://www.mrunix.net/webalizer/>webalizer</a> is&#8230; awful&#8230; and <a href=http://en.wikipedia.org/wiki/Webalizer#Criticism>hasn&#8217;t been updated since 2002 and keeps spiders in your stats</a> and stuff).</p>
<p>Unfortunatly, this meant I had to not use apt-get for the first time in months.</p>
<p>Here&#8217;s a redux of what a debian user needs to do to get Awffull running local (assuming you have superuser privileges):</p>
<pre>

<span style="color: #AAAAAA;">#
# grab the recent build, at the time of this writing: 3.8.1 b3
#</span>
wget <a href=http://www.stedee.id.au/files/awffull-3.8.1-beta3.tar.gz>http://www.stedee.id.au/files/awffull-3.8.1-beta3.tar.gz</a>

<span style="color: #AAAAAA;">#
# untar it and gunzip it</span>
#</span>
tar -xvvzf awffull-3.8.1-beta3.tar.gz

<span style="color: #AAAAAA;">#
# climb into the newly minted directory (for you neophytes out there,
# it'll be different if the version/filename is different)
#</span>
cd awffull-3.8.1-beta3

<span style="color: #AAAAAA;">#
# Now you need to make sure you have the libpng libraries installed.
# So as superuser we'll grab ALL of the libpng libraries...
#</span>
sudo apt-get install libpng*

<span style="color: #AAAAAA;">#
# now the GD Lib... which had a somewhat esoteric name for apt-get.
# I found this by running a <a href=http://www.google.com/search?client=opera&#038;rls=en&#038;q=debian+site:http://www.libgd.org&#038;sourceid=opera&#038;ie=utf-8&#038;oe=utf-8>debian site:http://www.libgd.org</a> google.
#</span>
apt-get install libgd2-dev

<span style="color: #AAAAAA;">#
# Next was the perl compatible regular expressions library.
# The google for this one was <a href=http://www.google.com/search?hl=en&#038;client=opera&#038;rls=en&#038;hs=uLz&#038;q=apt-get+%22Perl+Compatible+Regular+Expressions%22&#038;btnG=Search>apt-get "Perl Compatible Regular Expressions"</a>
#</span>
apt-get install libpcre3-dev

<span style="color: #AAAAAA;">#
# You may need to also install zlib.  I didn't, as it's a very common library... but
# if you do, you can get it with this command
#</span>
apt-get install zlib*

<span style="color: #AAAAAA;">#
# Now we're in the home stretch.  Run these commands, and you should be golden.
#</span>

./configure

make

make install
</pre>
<p>And if all went well, you&#8217;ve compiled a delicious build of awffull.  The binary will be sitting in the src directory, (in this case ~/awffull-3.8.1-beta3/src ) and should&#8217;ve been already copied to it&#8217;s new home at /usr/local/bin/awffull.</p>
<p>You can make a symbolic link to  /usr/bin/awffull from /usr/local/bin/awffull if you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/installing-awffull-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
