<?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>ConnectNC, Inc. &#187; Linux</title>
	<atom:link href="http://blog.connectnc.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.connectnc.com</link>
	<description>IT Services in North Carolina / DSL / Web Hosting / Web Design / Computer Repair</description>
	<lastBuildDate>Thu, 13 Aug 2009 14:51:00 +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>Did forcefsck leave you with a read-only filesystem?</title>
		<link>http://blog.connectnc.com/2008/12/14/did-forcefsck-leave-you-with-a-read-only-filesystem/</link>
		<comments>http://blog.connectnc.com/2008/12/14/did-forcefsck-leave-you-with-a-read-only-filesystem/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 19:40:08 +0000</pubDate>
		<dc:creator>Beth</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[forcefsck]]></category>
		<category><![CDATA[read-only]]></category>

		<guid isPermaLink="false">http://blog.connectnc.com/?p=170</guid>
		<description><![CDATA[Did you have some drive problems on your linux system and want to run fsck at boot time only to find that your system stays in eternal fsck-reboot mode?  When you try to remove the forcefsck file in single user mode, you discover that you can&#8217;t because the filesystem is in read-only mode? Here&#8217;s what [...]]]></description>
			<content:encoded><![CDATA[<p>Did you have some drive problems on your linux system and want to run fsck at boot time only to find that your system stays in eternal fsck-reboot mode?  When you try to remove the forcefsck file in single user mode, you discover that you can&#8217;t because the filesystem is in read-only mode?</p>
<p>Here&#8217;s what worked for us.</p>
<p>Interrupt the fsck and you&#8217;re in single user mode.</p>
<p>mount -o remount, -rw /dev/hda1 /</p>
<p>Now you can rm forcefsck</p>
<p>Replace hda1 in the line above with the appropriate device for your root filesystem.  It may /dev/sda1 or /dev/hda2</p>
<p>More details to follow.  I just wanted to blog about it before I forgot what we did.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.connectnc.com/2008/12/14/did-forcefsck-leave-you-with-a-read-only-filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using mod rewrite to redirect someone based on their search phrase</title>
		<link>http://blog.connectnc.com/2008/11/17/using-mod-rewrite-to-redirect-someone-based-on-their-search-phrase/</link>
		<comments>http://blog.connectnc.com/2008/11/17/using-mod-rewrite-to-redirect-someone-based-on-their-search-phrase/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 15:44:27 +0000</pubDate>
		<dc:creator>Beth</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod rewrite]]></category>
		<category><![CDATA[Myeloma]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[RewriteEngine]]></category>
		<category><![CDATA[shingles]]></category>

		<guid isPermaLink="false">http://blog.connectnc.com/?p=151</guid>
		<description><![CDATA[Blogging is really fun and can provide people with lots of useful information.  When you&#8217;ve had a blog for as many years as I have, you see trends evolve. My blog is mainly about myeloma, but a lot of people go there to read about shingles. People find the blog by searching on a variety [...]]]></description>
			<content:encoded><![CDATA[<p>Blogging is really fun and can provide people with lots of useful information.  When you&#8217;ve had a blog for as many years as I have, you see trends evolve. My blog is mainly about <a title="Multiple Myeloma" href="http://myelomablog.com">myeloma</a>, but a lot of people go there to read about <a title="Shingles blog" href="http://www.myelomablog.com/?s=shingles">shingles</a>.</p>
<p>People find the blog by searching on a variety of phrases, but they may find just one of my many pages about the experiences I&#8217;ve had with shingles.  What if I want them to land on my main shingles post that has a link to all the other pages? This bit of code from my .htaccess file ensures that folks who searched on &#8220;shingles&#8221; alone or in addition to  &#8220;picture,&#8221; &#8220;treatment&#8221; or &#8220;rash,&#8221; will be sent to the main blog post about shingles.</p>
<blockquote>
<pre>RewriteCond %{HTTP_REFERER} [?+&amp;]?shingles[?+&amp;]? [NC]
RewriteCond %{HTTP_REFERER} [?+&amp;]?(picture|treatment|rash?)[?+&amp;]? [NC]
RewriteCond %{REQUEST_URI} !^alternate_page\.html$
RewriteCond %{REQUEST_URI} !^([^/]+/)*[^/.]+\.[^/.]+$
RewriteRule .* http://myelomablog.com/shingles.php  [R=302,L]</pre>
</blockquote>
<p>You must be sure that RewriteEngine On is included and that your server (Apache) is allowing mod rewrite.  I have no idea how this would be accomplished using IIS, since I don&#8217;t use or care for IIS at all.  I&#8217;ve been using Apache since 1995 (on linux or some *nix), and will stick with what I know best (and what works best!).</p>
<p>Keep in mind that other rewrites put in place by programs such as WordPress might interfere with your own code.  If you end up with errors, try another way.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.connectnc.com/2008/11/17/using-mod-rewrite-to-redirect-someone-based-on-their-search-phrase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
