I want to redirect error to specific page, so i wrote:
ErrorDocument 403 /error403.html
This is working, but in the HTTP response header I can still see HTTP/1.1 403 Forbidden
.
Some browsers (like IE) that see that message, ignores the HTML code in the response (of error403.html
), and showing their own page instead.
Is there any way to tell the server that if ErrorDocument
handles an error, it will not include the HTTP error header?