Last active
November 27, 2018 13:41
-
-
Save tuckbloor/debfe11fee158c060c240fce64c97bfe to your computer and use it in GitHub Desktop.
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
RewriteEngine on | |
RewriteCond "%{HTTP_REFERER}" "!http://localhost" [NC] | |
RewriteRule \.(pdf|xls|xlsx|jpeg|jpg|png|msg|numbers|doc|docx|csv|zip|tar)$ - [F] | |
#change localhost to mydomain.co.uk change pdf|xls|xlsx to what ever you require |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment