RewriteEngine On RewriteCond %{REMOTE_ADDR} ^(A\.B\.C\.D)$ RewriteRule ^/* http://www.domain.com/sorry.html [L]