Lets say I want to block people from remotely embedding .swf or .dcr files using code like this:
With the following .htaccess code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !$
RewriteCond %{HTTP_REFERER} ![url]http:///url?([.]+.)?albinotreefrog.net [NC]
RewriteCond %{HTTP_REFERER} ![url]http:///url?([.]+.)?java-gaming.com [NC]
RewriteCond %{HTTP_REFERER} ![url]http:///url?([.]+.)?google.com [NC]
RewriteRule .(gif|jpg|jpeg|bmp|swf|SWF)$ - [F, NC]
RewriteCond %{HTTP_HOST} alnasir.albinotreefrog.net$
RewriteRule .* - [F]
Now if works for gif, jpeg, bmp files but not for .swf or .SWF files, any suggestions on how I can block .swf?