How to create a custom 403-forbidden?
Hi, I tryed to create a 403-forbidden-php-file and it was failed.
I just copyed the 404.php, changed the message and renamed to 403.php. Then I add “ErrorDocument 403 index.php?error=403” to my .htaccess file.
But it still shows the usual Forbidden-Site and added following message:
“Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.”
Can somebody explain it me how to fix it?
Thank you very much
- The topic ‘How to create a custom 403-forbidden?’ is closed to new replies.