Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6013673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:35:00+00:00 2026-05-23T02:35:00+00:00

How can I redirect errors to my custom error page if it is not

  • 0

How can I redirect errors to my custom error page if it is not standart http errors?
Example:
I have configured apache with ssl to access web site trough https with client authentication(server and client have certificates signed by CA). In case if client dosen’t have certificate I’ll get standart error message from ssl:
Secure Connection Failed Error
code: ssl_error_handshake_failure_alert
But I need to redirect this error to my custom error page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:35:00+00:00Added an answer on May 23, 2026 at 2:35 am

    You can’t easily.

    SSL errors happen at the TCP level which means the connection doesn’t get to the point where it can be handled by Apache’s standard error handling and redirected to a custom error page.

    There is an old Apache module called mod_ssl_error (http://marcstern.tripod.com/mod_ssl_error/) which does exactly what you want, but it requires that you patch and recompile mod_ssl.

    Another option is to set up two sites, one with SSLVerifyClient optional and another with SSLVerifyClient require (http://www.modssl.org/docs/2.1/ssl_reference.html#ToC13). Direct your users to the first site and if the optional connection works, forward them to the second site. Otherwise show an error message. This won’t help you figure out why the connection didn’t work but it will let you know something went wrong.

    See https://issues.apache.org/bugzilla/show_bug.cgi?id=35083 for some additional details on this problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how can i redirect to a page from sharepoint? i have this within the
I have a php web page that now uses custom error pages when a
I have a custom class that, when called, will redirect to a page and
I have a website which uses the custom 404 error handling in PHP/Apache to
I want to redirect the user to a custom error page when s/he is
Can I configure ASP.NET custom errors so that it would redirect to other site
I would like to know how I can redirect to a certain page (during
How can I redirect the user from one page to another using jQuery or
I have custom errors set in the web config file as follows: <customErrors mode=RemoteOnly
Where can I setup custom errors for directories in my application such as App_Code,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.