My web site is now denying for direct-linking of files using .htaccess.
I want to allow access from TwitterBot (crawler), but it will not work.
<Files ~ “.(gif|png)$”>
SetEnvIf Referer “~anything~” ShowOK
SetEnvIf User-Agent “TwitterBot” UAOkay
deny from all
allow from env=ShowOK
allow from env=UAOkay
Please tell me, how to change this.