Created
December 20, 2021 06:22
-
-
Save shameemreza/f27568ede24b03dca069704ff0969dd6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#Hotlinking | |
RewriteEngine on | |
RewriteCond% {HTTP_REFERER}! ^ $ | |
RewriteCond% {HTTP_REFERER}! ^ Http (s)?: // (www \.)? Your-domain.com [NC] | |
RewriteCond% {HTTP_REFERER}! ^ Http (s)?: // (www \.)? Google.com [NC] | |
RewriteRule \. (Jpg | jpeg | png | gif) $ - [NC, F, L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment