<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Prevent Image Hotlinking With .htaccess and&#160;mod_rewrite</title> <atom:link href="http://davidwalsh.name/prevent-image-hotlinking/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/prevent-image-hotlinking</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 10:59:12 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Jorge</title><link>http://davidwalsh.name/prevent-image-hotlinking/comment-page-1#comment-24001</link> <dc:creator>Jorge</dc:creator> <pubDate>Sun, 15 May 2011 16:18:25 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/prevent-image-hotlinking-with-htaccess-and-mod_rewrite/#comment-24001</guid> <description>Hi, I&#039;m looking at a solution like the one that replaces the images with a generic one (i.e. &quot;stop stealing my images&quot;).
Can you clarify why it&#039;s not going into an infinite loop? since it&#039;s redirecting to *another* .jpg file -wouldn&#039;t this create infinite redirects to the same image? --thanks!RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?yourwebdomain.com(/)?.*$ [NC]
RewriteRule .(gif&#124;jpe?g&#124;png&#124;bmp)$ /graphics/stop-stealing.jpg [L,NC]</description> <content:encoded><![CDATA[<p>Hi, I&#8217;m looking at a solution like the one that replaces the images with a generic one (i.e. &#8220;stop stealing my images&#8221;).<br
/> Can you clarify why it&#8217;s not going into an infinite loop? since it&#8217;s redirecting to *another* .jpg file -wouldn&#8217;t this create infinite redirects to the same image? &#8211;thanks!</p><p>RewriteEngine on<br
/> RewriteCond %{HTTP_REFERER} !^$<br
/> RewriteCond %{HTTP_REFERER} !^http://(www.)?yourwebdomain.com(/)?.*$ [NC]<br
/> RewriteRule .(gif|jpe?g|png|bmp)$ /graphics/stop-stealing.jpg [L,NC]</p> ]]></content:encoded> </item> <item><title>By: neil morris</title><link>http://davidwalsh.name/prevent-image-hotlinking/comment-page-1#comment-8339</link> <dc:creator>neil morris</dc:creator> <pubDate>Fri, 20 Mar 2009 16:16:35 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/prevent-image-hotlinking-with-htaccess-and-mod_rewrite/#comment-8339</guid> <description>Perhaps you could help.  I&#039;m trying to simplify for some of my clients moving to a cdn platform.  for dev I&#039;m using google app engine, just becasue, but files on the prod cdn will be served up the same way.  Issue - we would to use .htaccess to have css&#124;js&#124;gif&#124;jpg etc.. files be taken from the cdn by rewrite of the request, so we don&#039;t need to change all the php and related files.IE.page is rendered with like to image http://example.com/images/image.gifbut the image should be served from http://example-cdn.com/images/image.gifthe folder sturcture could remain the same, just the domain would change from example.com to example-cdn.comAny idea&#039;s? </description> <content:encoded><![CDATA[<p>Perhaps you could help.  I&#8217;m trying to simplify for some of my clients moving to a cdn platform.  for dev I&#8217;m using google app engine, just becasue, but files on the prod cdn will be served up the same way.  Issue &#8211; we would to use .htaccess to have css|js|gif|jpg etc.. files be taken from the cdn by rewrite of the request, so we don&#8217;t need to change all the php and related files.</p><p>IE.</p><p>page is rendered with like to image <a
href="http://example.com/images/image.gif" rel="nofollow">http://example.com/images/image.gif</a></p><p>but the image should be served from <a
href="http://example-cdn.com/images/image.gif" rel="nofollow">http://example-cdn.com/images/image.gif</a></p><p>the folder sturcture could remain the same, just the domain would change from example.com to example-cdn.com</p><p>Any idea&#8217;s?</p> ]]></content:encoded> </item> <item><title>By: Des Jomes</title><link>http://davidwalsh.name/prevent-image-hotlinking/comment-page-1#comment-4116</link> <dc:creator>Des Jomes</dc:creator> <pubDate>Fri, 05 Dec 2008 22:58:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/prevent-image-hotlinking-with-htaccess-and-mod_rewrite/#comment-4116</guid> <description>Brill, I appreciate this may be an old post, but its the answer I needed to fix my lil hotlinking problem so I thought I should say ta ...TA!!</description> <content:encoded><![CDATA[<p>Brill, I appreciate this may be an old post, but its the answer I needed to fix my lil hotlinking problem so I thought I should say ta &#8230;</p><p>TA!!</p> ]]></content:encoded> </item> <item><title>By: AskApache</title><link>http://davidwalsh.name/prevent-image-hotlinking/comment-page-1#comment-136</link> <dc:creator>AskApache</dc:creator> <pubDate>Wed, 17 Oct 2007 03:53:09 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/prevent-image-hotlinking-with-htaccess-and-mod_rewrite/#comment-136</guid> <description>Nicely done!</description> <content:encoded><![CDATA[<p>Nicely done!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching using disk: basic
Object Caching 475/476 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 08:56:05 -->
