You can deny acccess to a vhost just by adding the following lines in a .htaccess file:
order allow,deny
deny from [ip address] or [isp_name.com]
allow from all
with [ip address] you will block a specifc ip, and using [isp_name.com] will block anyone coming from a specific ISP.
To block access to any ip just use 127.0.0
You must be logged in to post a comment.