<?xml version="1.0"?>
<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/"
	>
   <channel>
      <pubDate>Thu, 2 Sep 2010 18:34:01 GMT</pubDate>
      <lastBuildDate>Thu, 2 Sep 2010 18:34:01 GMT</lastBuildDate>
      <language>en</language>
      <docs>http://www.rssboard.org/rss-specification</docs>
      <title>CrunchBang ~ hosting</title>
      <link>http://crunchbang.org/tags/hosting/</link>
      <description>Code, Design &amp; GNU/Linux</description>

<item>
    <title>Moving Hosts</title>
    <link>http://crunchbang.org/archives/2008/04/24/moving-hosts/</link>
    <pubDate>Thu, 24 Apr 2008 23:00:55 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/04/24/moving-hosts/</guid>
    <description><![CDATA[
    <p>I am in the process of moving this site to a different hosting provider. I would love to stay with my current host, but this site is fast outgrowing the services I have available; I need to move the site now, before I start incurring additional fees from my provider :| This is a real shame, because the site&#39;s current host has proven to be super reliable.</p>

<p>I&#39;ll be moving the site to a cheaper service, one which offers a greater amount of monthly bandwidth. I know the service/uptime will not be as good as the current host, but for the difference in cost, I will not be complaining.</p>

<p>Anyhow, I just thought I would mention it as things may get a little screwy around here over the next few days. BTW, if you are reading this, you are connected to the new host :)</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/hosting/" title="Browse all posts tagged with &#8220;hosting&#8221;">hosting</a></p>
    ]]></description>
</item>

<item>
    <title>Gmail as Default Email Client in Ubuntu</title>
    <link>http://crunchbang.org/archives/2007/12/04/gmail-as-default-email-client-in-ubuntu/</link>
    <pubDate>Tue, 04 Dec 2007 12:08:04 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/04/gmail-as-default-email-client-in-ubuntu/</guid>
    <description><![CDATA[
    <p><strong>January 7th &#39;08 - Problems/Issues</strong><br />
<em>There are some issues with this script that could potentially lead to a temporary loss of access to your Gmail account. Please see the <a href="http://crunchbang.org/archives/2007/12/04/gmail-as-default-email-client-in-ubuntu/#usercomments " title="user comments">user comments</a> for more details.</em></p>

<hr />

<p>The <a href="http://www.howtogeek.com/ " title="How-To Geek">How-To Geek</a> has posted some really useful instructions for <a href="http://www.howtogeek.com/howto/ubuntu/set-gmail-as-default-mail-client-in-ubuntu/ " title="Setting Gmail as the default email client in Ubuntu.">setting Gmail as the default email client in Ubuntu</a>. How-To Geek starts his post by saying:</p>

<blockquote>
  <p>Every Geek uses Gmail&#8230; it&#39;s pretty much required. And now you can set Gmail as the default client in Ubuntu without any extra software.</p>
</blockquote>

<p>I think his opening statement is a slight generalisation :) Having said that, I am indeed a geek and I do use Gmail so he may have a point! Anyhow, I followed the instructions and the hack works well. I did deviated slightly and placed the shell script in my <code>bin</code> directory; this way the script can be called by name as it sits within my system path. For future reference the script I used has the following content:</p>

<pre><code>#!/bin/sh

firefox -remote "openurl(https://mail.google.com/mail?view=cm&amp;tf=0&amp;to=`
echo $1 | sed 's/mailto://'`,new-tab)"
</code></pre>

<p><em>Note: The Firefox command actually sits on one line.</em></p>

<p>Once I&#39;d placed the script in my <code>bin</code> directory, I then simply needed to change my preferred mail application:<br />
<code>System -&gt; Preferences -&gt; Preferred Applications</code></p>

<p><img src="http://crunchbang.org/uploads/120407065145-ubuntu-preferred-applications.png" alt="Setting default mail client in Ubuntu." /></p>

<h3>When email is slower than snail mail</h3>

<p>Talking of Gmail and email, I&#39;ve been experiencing some technical issues with email across several domains. Apparently these issues stem from <a href="http://www.dreamhoststatus.com/2007/11/17/gmail-forwarding-slowness/ " title="Dreamhost Status - Gmail Forwarding Slowness">Gmail greylisting</a> one of my hosting providers mail clusters. You can&#39;t imagine, unless you&#39;ve experienced it, how frustrating it is to receive email more than 48 hours after it was originally sent.</p>

<p>I apologise if anyone is waiting on a reply from any messages sent between 30/11/07 and 03/12/07. Your message will probably never arrive at its intended destination; I can only imagine that your message is floating aimlessly around cyberspace, either that or it&#39;s been sucked into a black hole :(</p>

<p>Looking on the bright side, I also use another more reliable [<em>read more expensive</em>] hosting provider and I&#39;ve moved my email operations to their servers. I&#39;ve also been looking into using <a href="http://www.google.com/a/ " title="Google Apps">Google Apps</a> for all my email needs; however, I&#39;m slightly apprehensive about paying out on a service that has been in Beta status for more than 3 years. Does anyone have any experience of using this service? If so I&#39;d really appreciate some sensible feedback about it.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/google/" title="Browse all posts tagged with &#8220;google&#8221;">google</a>, <a href="http://crunchbang.org/tags/hosting/" title="Browse all posts tagged with &#8220;hosting&#8221;">hosting</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a></p>
    ]]></description>
</item>

<item>
    <title>Server Migration</title>
    <link>http://crunchbang.org/archives/2007/11/10/server-migration/</link>
    <pubDate>Sat, 10 Nov 2007 16:51:54 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/10/server-migration/</guid>
    <description><![CDATA[
    <p>Today has been a busy day. As well as running my personal <a href="http://tribalwars.net/ " title="Tribal Wars">campaign of terror</a>, I&#39;ve also moved this site &#34;crunchbang.org&#34; to a new hosting provider. The new server has a whole host of goodies for me to play with and I&#39;m really quite excited about it. Also, the new server runs <a href="http://www.debian.org/ " title="Debian Linux">Debian</a> as opposed to <a href="http://www.centos.org/ " title="CentOS - The Community ENTerprise Linux Distribution">CentOS</a> &#8212; as an <a href="http://www.ubuntu.com/ " title="Ubuntu Linux">Ubuntu</a> user I feel much more at home using a Debian system.</p>

<p>Hopefully there shouldn&#39;t be any noticeable disruption to my site. Having said that, if you do notice anything funky <a href="http://crunchbang.org/contact/ " title="Report any gremlins.">please do let me know</a>. Thanks.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/debian/" title="Browse all posts tagged with &#8220;debian&#8221;">debian</a>, <a href="http://crunchbang.org/tags/hosting/" title="Browse all posts tagged with &#8220;hosting&#8221;">hosting</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a></p>
    ]]></description>
</item>

<item>
    <title>Image Hotlinking Prevention with .htaccess</title>
    <link>http://crunchbang.org/archives/2007/11/02/image-hotlinking-prevention-with-dot-htaccess/</link>
    <pubDate>Fri, 02 Nov 2007 22:58:07 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/02/image-hotlinking-prevention-with-dot-htaccess/</guid>
    <description><![CDATA[
    <p>I&#39;m designing some banners and buttons for <a href="http://ubuntu.com/ " title="Ubuntu Linux">Ubuntu</a> advocacy. I have no problem with giving the images away [<em>indeed this is why I made them,</em>] however I really can&#39;t afford to host them. So before I post them to this site I wanted to ensure that I had some hotlink protection in place.</p>

<p>To accomplish this I&#39;ve created a new directory under my site&#39;s default &#34;images&#34; directory and protected it from hotlinking with an Apache <code>.htaccess</code> file. For future reference here are the contents of the <code>.htaccess</code> file:</p>

<pre><code>RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?example.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpe?g|gif|bmp|png)$ ../hotlink.gif [L]
</code></pre>

<p>The first line of the above code turns on the <a href="http://en.wikipedia.org/wiki/Rewrite_engine " title="Wikipedia - Rewrite Engine">mod_rewrite engine</a> in Apache. A requirement for the rewrite commands.</p>

<p>The second line matches any requests from the URL example.com [<em>change this to suit your requirements</em>]. The [NC] code means &#34;No Case&#34;, meaning match the URL regardless of case.</p>

<p>The third line allows empty referrals.</p>

<p>Finally, the last line matches any files ending with the extension jpeg, jpg, gif, bmp, or png. This is then replaced by the <code>hotlink.gif</code> file [<em>see below</em>] residing in the above <code>images</code> directory.</p>

<p><img src="http://crunchbang.org/images/hotlink.gif" alt="An example no hotlinking image with message." /></p>

<p>If you need to allow more domains to hotlink to your images you can simply duplicate line two. See the example below:</p>

<pre><code>RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?example.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?another-example.net/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?one-more-example.org/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpe?g|gif|bmp|png)$ ../hotlink.gif [L]
</code></pre>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/code/" title="Browse all posts tagged with &#8220;code&#8221;">code</a>, <a href="http://crunchbang.org/tags/images/" title="Browse all posts tagged with &#8220;images&#8221;">images</a>, <a href="http://crunchbang.org/tags/unitedhosting/" title="Browse all posts tagged with &#8220;unitedhosting&#8221;">unitedhosting</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>PHP 5 &amp; Feed Updates</title>
    <link>http://crunchbang.org/archives/2007/10/29/php-and-feed-updates/</link>
    <pubDate>Mon, 29 Oct 2007 11:32:54 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/10/29/php-and-feed-updates/</guid>
    <description><![CDATA[
    <p>It&#39;s been a long time coming but my website [<em><a href="http://crunchbang.org/ " title="CrunchBang.org">CrunchBang.org</a></em>] is now finally running on PHP 5. My <a href="http://unitedhosting.co.uk " title="United Hosting">hosting provider</a> performed the upgrade earlier this month and made the switch optional on a domain basis. Any domain on their servers can run either PHP version 4 [<em>default</em>] or upgrade to version 5 by adding a script handler in <code>.htaccess</code>:</p>

<pre><code>Action php5-script /interpreters/php5-script
AddHandler php5-script .php
</code></pre>

<p>My development systems all run PHP 5 so the switch was a breeze. Hopefully from now on I&#39;ll be able to avoid <a href="http://crunchbang.org/archives/2007/09/26/php-strrpos-vs-strpos/ " title="strrpos vs strpos">stuff like this</a>.</p>

<p>Also, I&#39;ve been working on my <a href="http://crunchbang.org/tags/whird/ " title="Posts relating to Whird">Whird project</a> over the weekend. I&#39;ve now added feeds for individual tags and updated various features to improve usability. I&#39;ve had to place some URL rewrites for the new feeds and I&#39;m hoping that the various planets [<em><a href="http://ubuntuweblogs.org/ " title="Planet Ubuntu Users">Planet Ubuntu Users</a>, <a href="http://planet.ubuntu-uk.org/ " title="Planet Ubuntu UK">Planet Ubuntu UK</a></em>] don&#39;t get flooded &#8212; I apologise if they do :)</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/code/" title="Browse all posts tagged with &#8220;code&#8221;">code</a>, <a href="http://crunchbang.org/tags/php/" title="Browse all posts tagged with &#8220;php&#8221;">php</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a>, <a href="http://crunchbang.org/tags/unitedhosting/" title="Browse all posts tagged with &#8220;unitedhosting&#8221;">unitedhosting</a>, <a href="http://crunchbang.org/tags/whird/" title="Browse all posts tagged with &#8220;whird&#8221;">whird</a></p>
    ]]></description>
</item>

<item>
    <title>United Hosting Server Upgrades</title>
    <link>http://crunchbang.org/archives/2007/10/05/united-hosting-server-upgrades/</link>
    <pubDate>Fri, 05 Oct 2007 13:39:13 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/10/05/united-hosting-server-upgrades/</guid>
    <description><![CDATA[
    <p>My hosting provider is currently <a href="http://www.unitedforums.co.uk/vb/network-server-status/10766-server-upgrades-october-all-servers.html " title="Fingers crossed for the switch to PHP5.">performing upgrades</a> to all of their servers. I&#39;ve been with United Hosting for about 4 years now and I can honestly say that they are the best hosting provider that I&#39;ve had the pleasure to use.</p>

<p>In the time that I&#39;ve been with them they have grown enormously and have an obvious commitment to constantly improving their services. I can confidently expect no downtime during this upgrade. It&#39;s a nice feeling when you have complete confidence in your host.</p>

<p><strong>Note:</strong> <em>I wouldn&#39;t normally plug commercial services on my blog. However, respect where respect is due!</em></p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/hosting/" title="Browse all posts tagged with &#8220;hosting&#8221;">hosting</a>, <a href="http://crunchbang.org/tags/unitedhosting/" title="Browse all posts tagged with &#8220;unitedhosting&#8221;">unitedhosting</a></p>
    ]]></description>
</item>

 </channel>
</rss>