Skip to content

Instantly share code, notes, and snippets.

@RdlP
Created October 7, 2014 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RdlP/0a7683e3ef600b71e0ff to your computer and use it in GitHub Desktop.
Save RdlP/0a7683e3ef600b71e0ff to your computer and use it in GitHub Desktop.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://angelluis.zapto.org/.*$ [NC]
RewriteRule \.(gif|jpg|png)$ http://angelluis.zapto.org/404.html [R,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment