一個陌生人機器人(GbPlugin)正在編碼的圖像的url並導致錯誤404.
我試圖阻止機器人沒有成功與此在我的.htaccess的底部,但它didn沒有工作。由useragent或空referer阻止
Options +FollowSymlinks
RewriteEngine On
RewriteBase/
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^GbPlugin [NC]
RewriteRule .* - [F,L]
下面的日誌。
201.26.16.9 - - [10/Sep/2011:00:06:05 -0300] "GET /wp%2Dcontent/themes/my_theme%2Dpremium/scripts/timthumb.php%3Fsrc%3Dhttp%3A%2F%2Fwww.example.com%2Fwp%2Dcontent%2Fuploads%2F2011%2F08%2Fmy_image_name.jpg%26w%3D100%26h%3D65%26zc%3D1%26q%3D100 HTTP/1.1" 404 1047 "-" "GbPlugin"
對不起,我的語言錯誤
「導致errir 404」:對他們?但你爲什麼要關心? – Raedwald