Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default error 403 page displaying when SSL connection not authenticate

Status
Not open for further replies.

boogs28

Programmer
Mar 20, 2009
1
IE
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top