<?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>Siblog :: Web Design News &#187; Htaccess</title>
	<atom:link href="http://www.sibagraphics.com/wp/category/web-design/resources/code/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sibagraphics.com/wp</link>
	<description>Web development resources, articles and discussion.</description>
	<lastBuildDate>Wed, 28 Dec 2011 13:50:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Image protection with .htaccess</title>
		<link>http://www.sibagraphics.com/wp/2006/01/04/image-protection-with-htaccess/</link>
		<comments>http://www.sibagraphics.com/wp/2006/01/04/image-protection-with-htaccess/#comments</comments>
		<pubDate>Wed, 04 Jan 2006 06:26:32 +0000</pubDate>
		<dc:creator>Siba</dc:creator>
				<category><![CDATA[Htaccess]]></category>

		<guid isPermaLink="false">http://www.sibagraphics.com/wp/2006/01/04/image-protection-with-htaccess/</guid>
		<description><![CDATA[How to stop people stealing your images/bandwidth remotely: (1) Make an image called dontsteal.gif and place it in a directory below the directory in which you are going to put the .htaccess file. (2) Open notepad and copy this code &#8230; <a href="http://www.sibagraphics.com/wp/2006/01/04/image-protection-with-htaccess/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>How to stop people stealing your images/bandwidth remotely:</p>
<p>(1) Make an image called dontsteal.gif and place it in a directory below the directory in which you are going to put the .htaccess file.</p>
<p>(2) Open notepad and copy this code &#8230; no hard carriage returns between lines.</p>
<blockquote><p><code>RewriteEngine On<br />
RewriteCond %{HTTP_REFERER} !^$<br />
RewriteCond %{HTTP_REFERER} !^http://whateverdomain.com/.*$ [NC]<br />
RewriteCond %{HTTP_REFERER} !^http://www.whateverdomain.com/.*$ [NC]<br />
RewriteRule .*\.(gif|GIF|jpg|JPG|zip|ZIP|png|PNG|swf|SWF)$ http://www.whateverdomain.com/dontsteal.gif [R,L]</code></p>
</blockquote>
<p>(3) Change whateverdomain.com to whatever your domain is called.</p>
<p>(4) This code works with apache servers with mod_rewrite.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sibagraphics.com/wp/2006/01/04/image-protection-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

