RewriteCond %{HTTP_REFERER} ^$
RewriteCond %{REMOTE_HOST} \.FreeBit\.NE\.JP$ [NC]
RewriteCond %{HTTP_USER_AGENT} "^Mozilla/4.0 \(compatible; MSIE 6.0; Windows 98\)$"
RewriteRule ^.*$ /hoge.html [L]
こんな感じで。2003年06月19日(木) [長年日記]
[home] spamアドレス収集robotに対抗するためのmod_rewrite
リファが空白で、FreeBit.NE.JPからのアクセスで、agentが「Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)」なブラウザを任意のファイルにアクセスさせる。
.htaccessに
Permalink: http://www.otsune.com/diary/2003/06/19/27.html#2003061927
trackback

View blog reactions
Last Updated 2003-06-19 00:00:00 By
trackback
Last Updated 2003-06-19 00:00:00 By



コメントを読む(1) [ コメントする ]