<?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>Martin Ström &#187; apache</title>
	<atom:link href="http://my-domain.se/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://my-domain.se</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:02:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Nicer public Dropbox URLs</title>
		<link>http://my-domain.se/nicer-public-dropbox-urls/</link>
		<comments>http://my-domain.se/nicer-public-dropbox-urls/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 09:20:25 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[dropbox]]></category>

		<guid isPermaLink="false">http://my-domain.se/?p=374</guid>
		<description><![CDATA[I use Dropbox but wanted nicer URLs for the links I sometimes send to the files in my Public folder. Each user has a folder on dropbox.com which is publicly shared, like this http://dl.dropbox.com/u/12345/ so I just set up a new sub domain (mine is dropbox.my-domain.se) and let Apache redirect all requests to that domain [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="https://www.dropbox.com/referrals/NTI3MjE1OQ">Dropbox</a> but wanted nicer URLs for the links I sometimes send to the files in my Public folder. Each user has a folder on dropbox.com which is publicly shared, like this <code>http://dl.dropbox.com/u/12345/</code> so I just set up a new sub domain (mine is <a href="http://dropbox.my-domain.se">dropbox.my-domain.se</a>) and let Apache redirect all requests to that domain to my Dropbox folder instead:</p>

<pre><code>&lt;VirtualHost *:80&gt;
  ServerName  dropbox.my-domain.se     
  RewriteEngine on
  RewriteRule ^(.*)$ http://dl.dropbox.com/u/27215$1 [R,L]
&lt;/VirtualHost&gt;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/nicer-public-dropbox-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy FeedBurner redirect</title>
		<link>http://my-domain.se/easy-feedburner-redirect/</link>
		<comments>http://my-domain.se/easy-feedburner-redirect/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 09:24:08 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[feedburner]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2006/04/26/easy-feedburner-redirect/</guid>
		<description><![CDATA[This is a trick I&#8217;m using at this site that I picked up somewhere on the FeedBurner Forums. I wanted to have my RSS-feed from this site to go via FeedBurner to get stats etc, but I don&#8217;t want to communicate the http://feeds.feedburner.com/xxxx URL public since it might change in the future. So instead, in [...]]]></description>
			<content:encoded><![CDATA[<p>This is a trick I&#8217;m using at this site that I picked up somewhere on the <a href="http://forums.feedburner.com">FeedBurner Forums</a>. I wanted to have my RSS-feed from this site to go via FeedBurner to get stats etc, but I don&#8217;t want to communicate the <code>http://feeds.feedburner.com/xxxx</code> URL public since it might change in the future. So instead, in my <a href="http://httpd.apache.org/docs/1.3/howto/htaccess.html"><code>.htaccess</code></a>, I have these lines that will redirect all visitors except FeedBurner itself (otherwise it wouldn&#8217;t have any chance to read and parse my feed) to my FeedBurner URL.</p>

<pre><code>RewriteEngine On
RewriteBase /martin/

# FeedBurner
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/haraldmartin [R,L]
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/easy-feedburner-redirect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

