<?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 Helm&#039;s Technology Blog &#187; Computing</title>
	<atom:link href="http://www.ihelm.org.uk/category/home-computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ihelm.org.uk</link>
	<description>Linux Servers, Cpanel and Mysql along with my own tech thoughts</description>
	<lastBuildDate>Thu, 29 Sep 2011 22:19:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Password protecting a directory with .htaccess and wordpress</title>
		<link>http://www.ihelm.org.uk/2011/09/password-protecting-a-directory-with-htaccess-and-wordpress/</link>
		<comments>http://www.ihelm.org.uk/2011/09/password-protecting-a-directory-with-htaccess-and-wordpress/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 22:19:07 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=198</guid>
		<description><![CDATA[I&#8217;ve come across this problem a number of times, of course each time I think &#8220;this will be fixed next time&#8221;.  Unfortunately it&#8217;s not the case.  What&#8217;s the problem then? You have a directory that you want to password protect, lets call it &#8220;secrets&#8221;.  It resides in /home/mysite/public_html/secrets/ on the server.  Now fortunately you are [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve come across this problem a number of times, of course each time I think &#8220;this will be fixed next time&#8221;.  Unfortunately it&#8217;s not the case.  What&#8217;s the problem then?</p>
<p>You have a directory that you want to password protect, lets call it &#8220;secrets&#8221;.  It resides in /home/mysite/public_html/secrets/ on the server.  Now fortunately you are using a hosting control panel like cpanel and you&#8217;ve password protected directories before (if not then have a hunt on this site or on google!).</p>
<p>Before you activate the protection you can view the contents fine, so you activate protection &#8211; driven by a .htaccess file&#8230; and then rather than being asked for your username and password, you get a 404 or a 403 message from wordpress &#8220;Sorry the page you are looking for cannot be found&#8221;.</p>
<p>Intrepid system administrators hunt through error logs, and sure enough the access log is recording a 404&#8230; however the error log is recording something different.</p>
<pre>Permission denied: /home/mysite/public_html/secret/.<strong>htaccess</strong> pcfg_openfile: unable to check <strong>htaccess</strong> file, ensure it is readable</pre>
<p>This error message has had a number of solutions in the past, including the infamous &#8220;reinstall frontpage extensions&#8221;, except these are long gone &#8211; not supported and never will be again, please don&#8217;t go installing them just to get past this problem! &#8211; It will end in tears.</p>
<p>Instead you just need to add a couple of lines to the wordpress .htaccess file in the root of your site (e.g. /home/mysite/public_html/.htacess). Go to the file and just before the main WordPress part</p>
<p>#BEGIN wordpress &#8211; add the following</p>
<pre>ErrorDocument 401 /%{REQUEST_URI}/errors.html
ErrorDocument 403 /%{REQUEST_URI}/errors.html</pre>
<p>This should set the site to working, now why does this work?</p>
<p>Simply put wordpress is often run with a pretty url mode (permalinks) where the addresses for posts are made to look more pretty.  When you request your secret directory the server tries to access it, looks at the .htaccess file and promptly tries to do a redirect, this invariably ends up at a page wordpress cannot access &#8211; this doesn&#8217;t happen without the .htaccess as wordpress allows access to existing real files, but the htaccess security says the file doesn&#8217;t exist until the password is entered and so it intercepted.</p>
<p>It&#8217;s all a bit confusing, however adding these lines essentially means wordpress can get out of the way when those errors occur, 401 and 403 are authorisation required or failure codes, so wordpress will ignore and the htaccess can safely challenge your.</p>
<p>&nbsp;</p>
<p>Hopefully this will help if you come across this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2011/09/password-protecting-a-directory-with-htaccess-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to put wordpress into maintenance mode.</title>
		<link>http://www.ihelm.org.uk/2011/02/how-to-put-wordpress-into-maintenance-mode/</link>
		<comments>http://www.ihelm.org.uk/2011/02/how-to-put-wordpress-into-maintenance-mode/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 22:37:14 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[maintenace]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=168</guid>
		<description><![CDATA[Sometimes you might need to put wordpress into maintenance mode - this replaces your site with a basic message saying that the site is temporarily unavailable.]]></description>
			<content:encoded><![CDATA[<p>Sometimes you might need to put wordpress into maintenance mode &#8211; this replaces your site with a basic message saying that the site is temporarily unavailable.</p>
<p>Why might you want to do this?</p>
<ul>
<li>To correct a mistake in a template (so put it in maintenance while you restore from your ever handy backup).</li>
<li>While doing manual updating (for instance the automatic updating failed or a plugin is not available for automatic updating).</li>
</ul>
<p>In order to do this simply put a file in the root of your wordpress install and name it <em style="font-weight: bold;">.maintenance </em>.  The file MUST be preceded by the &#8220;.&#8221; similar to a .htaccess file.</p>
<p>Normally this file has code in it to indicate how long the site will be under maintenance, and if the timestamp passes then the file is de-activated and the site is available &#8211; for instance to make the site be unavailable until now (Feb 17th 22:28 2011) do the following:</p>
<blockquote>
<pre><code>&lt;?php $upgrading = 1297981662; ?&gt;</code></pre>
</blockquote>
<p>However if you want the site to stay in maintenance mode as long as needed then the timestamp just needs to be kept changing so the following will do the job:</p>
<blockquote>
<pre><code>&lt;?php $upgrading = time(); ?&gt;</code></pre>
</blockquote>
<p>And that&#8217;s it &#8211; simple as that you can put wordpress into maintenance mode without a lot of hassle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2011/02/how-to-put-wordpress-into-maintenance-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Goals for 2011</title>
		<link>http://www.ihelm.org.uk/2011/01/goals-for-2011/</link>
		<comments>http://www.ihelm.org.uk/2011/01/goals-for-2011/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 21:34:01 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Iphone]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=155</guid>
		<description><![CDATA[In no particular order I intend to do/get the following:

Obtain a Macbook (Air / Pro).
Learn how to program the Iphone / Ipad
Get a tablet pc (Ipad possibly or windows 7 based one we shall see).....]]></description>
			<content:encoded><![CDATA[<p>Well, a couple of weeks into the New Year, and it&#8217;s time for the usual Resolutions. So what are mine this year, well some I am keeping to myself, but a few techie ones remain.</p>
<p>In no particular order I intend to do/get the following:</p>
<ul>
<li>Obtain a Macbook (Air / Pro).</li>
<li>Learn how to program the Iphone / Ipad</li>
<li>Get a tablet pc (Ipad possibly or windows 7 based one we shall see)</li>
<li>New Digital camera to replace the now aging Canon EOS350 &#8211; (my current one has suffered from being in -28 and + 40 in it&#8217;s working life)</li>
<li>Get this Blog back up and running doing the following:</li>
</ul>
<ol>
<li>Reviewing Iphone Apps &#8211; on the Iphone 4 and Iphone 3g</li>
<li>Document insights into MySQL from the servers I manage</li>
</ol>
<ul>
<li>Get to grips (finally) with OOP and PHP (come-on I know JAVA so I really should have cracked this already but the old C programming gets in the way).</li>
<li>Have a dabble in Cloud Computing &#8211; it seems to be here to stay and since 2010 had virtualisation 2011 is Cloud <img src='http://www.ihelm.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>That&#8217;s it for now &#8211; check back to see how I do <img src='http://www.ihelm.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2011/01/goals-for-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loss of title bar / close ,  minimise and maximise buttons in ubuntu</title>
		<link>http://www.ihelm.org.uk/2008/02/loss-of-title-bar-close-minimise-and-maximise-buttons-in-ubuntu/</link>
		<comments>http://www.ihelm.org.uk/2008/02/loss-of-title-bar-close-minimise-and-maximise-buttons-in-ubuntu/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 21:53:00 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[feisty fawn]]></category>
		<category><![CDATA[guty gibbon]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=35</guid>
		<description><![CDATA[A few weeks ago I upgraded ubuntu to Gutsy Gibbon - I was very impressed, the enhanced graphics which were not available to me in feisty now worked.

However somehow last week I lost my title bar, so no window title, no minimise or maximise button and the close button was gone. In addition the terminal window was now broken loading up a blank page.]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I upgraded ubuntu to Gutsy Gibbon &#8211; I was very impressed, the enhanced graphics which were not available to me in feisty now worked.</p>
<p>However somehow last week I lost my title bar, so no window title, no minimise or maximise button and the close button was gone.  In addition the terminal window was now broken loading up a blank page.</p>
<p>After trawling through various forums and trying half a dozen fixes, with no success I finally tried turning off the special effects, and now have them back.</p>
<p>It&#8217;s a bit frustrating, I can only assume that one of the regular updates broke the driver that was working for me previously as no settings had been changed.  Ah well &#8211; anyone with this problem, it&#8217;s really not worth the hassle just to have windows that wobble when moved and desktops that slide when changed <img src='http://www.ihelm.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2008/02/loss-of-title-bar-close-minimise-and-maximise-buttons-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu as home desktop&#8230;</title>
		<link>http://www.ihelm.org.uk/2007/09/ubuntu-as-home-desktop/</link>
		<comments>http://www.ihelm.org.uk/2007/09/ubuntu-as-home-desktop/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 21:34:11 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[ububtu]]></category>
		<category><![CDATA[xp home]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=28</guid>
		<description><![CDATA[For three months now I have used Ubuntu as the operating system of choice replacing windows XP on my home computer.
For the most part the transition was quite easy and it's clear why people are begining to talk about it being able to replace windows for some users.
But there is of couse always a but - and this is a major one for me.  Linux and Ubuntu in particular allows you to easily install programs that are compatible with your particular flavour - e.g. Adept installer, synaptic installer or command line utilities such as apt-get etc...

However one problem I have repeatedly come across is I install a program to find that it doesn't work ]]></description>
			<content:encoded><![CDATA[<p>For three months now I have used Ubuntu as the operating system of choice replacing windows XP on my home computer.<br />
For the most part the transition was quite easy and it&#8217;s clear why people are begining to talk about it being able to replace windows for some users.<br />
But there is of couse always a but &#8211; and this is a major one for me.  Linux and Ubuntu in particular allows you to easily install programs that are compatible with your particular flavour &#8211; e.g. Adept installer, synaptic installer or command line utilities such as apt-get etc&#8230;</p>
<p>However one problem I have repeatedly come across is I install a program to find that it doesn&#8217;t work &#8211; generally due to hardware issues on my aging computer &#8211; such as low 3d memory etc..  In windows -t his is not normally a problem, but generally programs will test and warn you they are incompatible, however in ubuntu and Linux in general these progams let you install them and then fail.</p>
<p>The odd thing in the &#8220;old&#8221; days of using just command line usually programs would fail to compile and therefore install if any problems were encountered &#8211; however this robustness seems to have been lost in the drive to give the impression that the system can run more programs than they can.</p>
<p>However all said and done Ubuntu is generally good &#8211; I would imagine that given a few more releases it will really be able to take off &#8211; especially if more people use it with Dell&#8217;s new offerings giving more feedback to the developers.</p>
<p>So please someone just make it so I can&#8217;t install something that won&#8217;t work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2007/09/ubuntu-as-home-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

