The first part below is the ip blocking section of the .htaccess, and the last line changes the default 403 error to a page of your choice.
Code:
order allow,deny
deny from 127.0.0.1
deny from 1.2.3.4
allow from all
ErrorDocument 403 /your_directory/error.php?type=403
__________________
The interlocking pieces of web development: usability, performance, accessibility, and standards.
|