Page is a not externally linkable
adriaant - 5:32 am on May 20, 2003 (gmt 0)
The reason I thought it is not working is that I had a hard time blocking one nasty spammer. The spammer always produces the following kind of access_log entries: 216.169.111.198 - - [18/May/2003:07:51:20 -0400] "GET / HTTP/1.1" 403 210 "http://www.some-bad-word-and-more.com\r" "http://www.www.some-bad-word-and-more.com\r" I blocked first by ip: RewriteCond %{REMOTE_ADDR} ^216\.169\.111\. but it still let them in (?), so I tried blocking by word as in my previous email. Yesterday, I traced the IP address down and found it's hosting company. I complained there and they said they would do something about it. I yet have to see. Btw, would this also work to block specific urls: RewriteCond %{HTTP_REFERER} stuff [NC]
jdMorgan, yes, I have Options and RewriteEngine both on top of the htaccess file.
RewriteRule ^.*$ - [F,L]
RewriteRule .* - [F,L]