HotLink Koruması

0
Onaylı Üye
Üye
Katılım
19 Mayıs 2007
Mesajlar
6,382
Tepki puanı
85
.htaccess ile

x.com domaindeki .gif .png .jpg uzantılı resimleri başka sitelerde görüntülenmeye çalışılınca
x.com/uyari.php adresine gönderebilirmiyim
veya
x.com/uyari.gif nasıl göstertebilirim

yardımcı olan arkadaşlara teşekkürler
 
0
Onaylı Üye
Üye
Katılım
19 Mayıs 2007
Mesajlar
6,382
Tepki puanı
85
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http://www.xx.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.xxx.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://google.com.tr/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://google.com.tr$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.google.com.tr/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com.tr$ [NC]

RewriteRule .*\.(gif|jpg|png|zip|wma|swf|avi|rar|mpg|mp3)$ http://www.xxx.org/dikkat.PNG [R,NC]
kynk: zone
 
Geri
Üst