Answer the question
In order to leave comments, you need to log in
How to change the 403 Forbidden page on Apache to your own?
How can I replace the 403 Forbidden page, on Apache under Debian, with my own, in HTML/PHP format? And is this even possible?
Since you need to install a stub on the site, and so that it is described what to do in order to enter the site, and to give the code 403
Answer the question
In order to leave comments, you need to log in
At the root of the site, you need to create a file called .htaccess and enter the following line into it, indicating the file that is called when an error occurs 403
ErrorDocument 403 /error/403.php
In the same way, you can display a regular message, a la
ErrorDocument 403 '403 error'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question