REKLAM ALANI

User agent isteklerini blokla

avatar Zuck Bağışçı
Premium
228
#1
Yorumu Paylaş

.htaccess dosyanız ile istenmeyen kullanıcı yüklenmelerini bloklayarak sunucunuzun kilitlenmesini engelleyebilirsiniz.
PHP Kod:
## .htaccess Code :: BEGIN
## Block Bad Bots by user-Agent
SetEnvIfNoCase user-Agent ^FrontPage [NC,OR]
SetEnvIfNoCase user-Agent ^Java.* [NC,OR]
SetEnvIfNoCase user-Agent ^Microsoft.URL [NC,OR]
SetEnvIfNoCase user-Agent ^MSFrontPage [NC,OR]
SetEnvIfNoCase user-Agent ^Offline.Explorer [NC,OR]
SetEnvIfNoCase user-Agent ^[Ww]eb[Bb]andit [NC,OR]
SetEnvIfNoCase user-Agent ^Zeus [NC]
Order Allow,Deny
Allow from all
Deny from env
=bad_bot
## .htaccess Code :: END  
deneme
Premium

Konuda Ara

0 Yorum


Konuyu Okuyanlar: