Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-dp07276078/web/blog/wp/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-dp07276078/web/blog/wp/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-dp07276078/web/blog/wp/wp-includes/theme.php on line 508
blog.cori95.net : リファラスパム対策2

2005/02/07

リファラスパム対策2

先日の「cori95.net :: リファラスパム対策」のエントリで書いたリファラスパム対策が結構上手いこと動いてる気配。
とりあえず拒否るドメインを追加更新したバージョンをここにアップしてみた。
基本的にはこんな感じで。

RewriteEngine on
SetEnvIfNoCase Referer ".*(禁止ワード).*(com|net|org|info|nu|biz)" spam_ref=yes
RewriteCond %{ENV:spam_ref} ^yes$ [NC]
RewriteCond %{HTTP_REFERER} ^(.*)$ [NC]
RewriteRule (.*) - [F,L]
[2007-10-03 追記]
このエントリはかつて Blosxom 用に書いたものをスクリプトで自動変換したものです。真面目に確認していないので,デザインの崩れやリンク切れが残っています場合にはご容赦ください。

Posted at 14:40:38|個別ページcori95.netトラックバックURL||
はてなブックマークに追加! この記事をLivedoorクリップ! Yahoo!ブックマークに追加! del.icio.usに追加! ニフティクリップに追加! Buzzurlに追加! このページを POOKMARK Airlines の行き先に登録する BlogPeople Instant Bookmark に追加! newsing it!に追加! PingKingポッケに追加!

トラックバックURL

トラックバック URL :

コメント »

この記事にはまだコメントがついていません。

コメントをどうぞ

HTML convert time: 0.073 sec. Powered by WordPress ME