RewriteEngine on
#RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.webticaret.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.webticaret.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://webticaret.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://webticaret.org$ [NC]
RewriteRule .*\.(zip|wma|swf|avi|rar|mpg|mp3)$
http://webticaret.org/ [R,NC]
Options All -Indexes
webticaret.org kısımlarını izin verecegin url ile değiştirmelisin.
RewriteRule .*\.(zip|wma|swf|avi|rar|mpg|mp3)$
http://webticaret.org/ [R,NC]
burdaki webticaret.org, dosyaları hatalı referer ile download etmek isteyenlerin yönlendirileceği adrestir.
dosya türleride malum koruma altındaki dosya uzantılarıdır.