If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Deny an IP and custom 403 page can't work?

Okay, so if using my .htaccess I deny a spammers IP and want to use a nice custom 403 page it creates a situation where they cannot actually get to my custom 403 page since they are denied access to the site - and thus that custom 403 page - so they get the bland generic server 403 error.

How are you suppose to get around this, here is the full .htaccess example

Code:

ErrorDocument 403 /403.php
order allow,deny
deny from 58.61.156.183
deny from 65.208.151.115
allow from all