Created
April 9, 2012 17:44
-
-
Save jamescridland/2344965 to your computer and use it in GitHub Desktop.
Stop people nicking .png images from your server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#put this bit in your .htaccess file | |
RewriteCond %{HTTP_REFERER} ^http://(www\.)?godalmingtownfc.co.uk.*$ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://(www\.)?mallulive.com.*$ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://(www\.)?allegro.pl.*$ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://(www\.)?lawiki.org.*$ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://(www\.)?pcworld.com.*$ [NC] | |
ReWriteRule .*\.png$ - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment