از allow و deny استفاده کنید :
کد:<Limit GET POST PUT> Order Deny,Allow Deny from all Allow from 123.123.123.123 Allow from 123.123.123.123 </Limit> ErrorDocument 403 /otherpage.html <Files otherpage.html> Order Allow,Deny Allow from all </Files>