<?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>Linux Servers cPanel webhosting blog &#187; hotlink protection</title>
	<atom:link href="http://www.theperfectarts.com/tag/hotlink-protection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Thu, 02 Sep 2010 11:15:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Stop hotlinking from outside domains by using .htaccess?</title>
		<link>http://www.theperfectarts.com/2009/11/stop-hotlinking-from-outside-domains-by-using-htaccess/</link>
		<comments>http://www.theperfectarts.com/2009/11/stop-hotlinking-from-outside-domains-by-using-htaccess/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 04:18:20 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[hotlink code]]></category>
		<category><![CDATA[hotlink protection]]></category>
		<category><![CDATA[hotlink protection with .htaccess]]></category>
		<category><![CDATA[hotlink with .htaccess]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=378</guid>
		<description><![CDATA[How to stop hotlinking from outsides domains. You can stop the hotlinking from outsider domain by using following rule in .htaccess RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain1.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain2.com/ [NC] RewriteRule .*.(jpe?g&#124;gif&#124;bmp&#124;png)$ /images/nohotlink.jpe [L] You can also display a 403 Forbidden Error page instead of an image (nohotlink.jpe) Replace last [...]]]></description>
			<content:encoded><![CDATA[<p>How to stop hotlinking from outsides domains.</p>
<p>You can stop the hotlinking from outsider domain by using following rule in .htaccess</p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain.com/ [NC,OR]<br />
RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain1.com/ [NC,OR]<br />
RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain2.com/ [NC]<br />
RewriteRule .*.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]</p>
<p>You can also display a 403 Forbidden Error page instead of an image (nohotlink.jpe)</p>
<p>Replace last line on above code with the following code</p>
<p>RewriteRule .*.(jpe?g|gif|bmp|png)$ &#8211; [F]</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/stop-hotlinking-from-outside-domains-by-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
