Hi,
I've configured Apache to display custom error pages for error 400, 401, 403, 404 and 500. These work fine when a user connects over HTTP.
If a user connects over HTTPS and get authenticated, they work fine also.
If a user tries to connect over HTTPS but doesn't get authenticated, then an Error 403 - Forbidden page is sent back to them, but this page is not the custom page, it's the default. This is because the user is not authenticated to access to custom error page.
Any idea how to configure it so that the custom error page is displayed when a user is not authenticated?
Cheers
I've configured Apache to display custom error pages for error 400, 401, 403, 404 and 500. These work fine when a user connects over HTTP.
If a user connects over HTTPS and get authenticated, they work fine also.
If a user tries to connect over HTTPS but doesn't get authenticated, then an Error 403 - Forbidden page is sent back to them, but this page is not the custom page, it's the default. This is because the user is not authenticated to access to custom error page.
Any idea how to configure it so that the custom error page is displayed when a user is not authenticated?
Cheers