htaccess: trying to serve different pages
I'm new to htaccess and my isp is not helping.
What I'm trying to do is serve a page called "block.htm" to the ip's and domains that I have listed as "deny."
I'm not sure if they see it or not. i do know the way it is now the "block" page gets pushed to any 403/404 error. so anybody that types a wrong address gets it.
So, i want ONLY those being denied to get the block.htm file and everyone else to get normal 403/404.
THANKS for all help
here is what i have now:
allow from all
deny from .xxx.net
ErrorDocument 403 http://www.xxxxx.com/block.htm
ErrorDocument 404 http://www.xxxxx.com/block.htm
deny from 18.104.22.168