Custom 403 Page Problem
Posted by: ozort
Posted on: 2006-08-19 08:06:00
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:
[code]
ErrorDocument 403 /errors/blocked.php
Order Allow,Deny
Allow from All
Deny from x.x.x.x
[/code]
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
[code]
<files index.html>
...
</files>
[/code]
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!