RewriteEngine on order deny,allow allow from xx.xx.xxx.xxx deny from all
RewriteEngine on order deny,allow allow from xx.xx.xxx.xxx deny from all ErrorDocument 403 http://www.somepage.com