Forum Moderators: phranque
This is in my hosts.deny on my server:
ALL: .xyz, .xyz, .dnsstuff.com, .xyz
This is in my httpd.conf for the directory in question:
RewriteCond %{HTTP_USER_AGENT} ^whois [OR]
RewriteCond %{HTTP_USER_AGENT} ^dnsstuff [OR]
RewriteRule /*$ http://www.spam.com [L,R]
RewriteCond %{HTTP_REFERER} whois\.sc [NC]
RewriteCond %{HTTP_REFERER} dnsstuff\.com [NC]
RewriteRule .* - [F]
What the heck am I doing wrong here?
[edited by: jdMorgan at 9:51 pm (utc) on Aug. 28, 2007]
[edit reason] de-linked [/edit]
Are you trying to block clients referred from these domains, or trying to block accesses by servers at those domains?
Jim