Skip to content

Instantly share code, notes, and snippets.

@kukat
Created July 23, 2013 15:25
Show Gist options
  • Save kukat/6063268 to your computer and use it in GitHub Desktop.
Save kukat/6063268 to your computer and use it in GitHub Desktop.
isapi rewrite
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.82
RewriteCond Host: (.+)
RewriteCond %{HTTP:Host}#%{HTTP:Referer} ^([^#]+)#(?!http://\1).+
RewriteCond Referer: (?!http://(.*)(YOURDOMAIN\.com)).*
RewriteRule .*\.(?:gif|jpg|png) /badlink.png [I,O,N]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment