I’m trying to display a customised 403 error for a specific user that i’m particularly sick of. I want it to refer to him by name, as well as a personal message as to why he’s been banned.
Right now my code is:
ErrorDocument 403 /errors/blocked.php
Order Allow,Deny
Allow from All
Deny from x.x.x.x
However, it is unable to find this error message and just gives a general generic apache 403 message.
HOWEVER, i know the file is there, because if i preface it with
<files index.html>
...
</files>
the it blocks access to “index.html”, but then allows it for all other files.
If anyone can help me straighten this out, i’d appreciate it!
Cheers!