Redirecting user away from "Cannot find server or

Results 1 to 2 of 2

Thread: Redirecting user away from "Cannot find server or

  1. #1
    Join Date
    Dec 1969

    Default Redirecting user away from "Cannot find server or

    If a user has SSL disabled on their browser and attempts to view a SSL hosted page, they get the default "The Page Cannot be Displayed", aka "Cannot find server or DNS error" in IE. I want to redirect them instead to a html page. Is this possible?

  2. #2
    balletchick Guest

    Default RE: Redirecting user away from

    Yes and no... if I understand your question correctly.<BR><BR>Look at request.servervariables("HTTPS"). Your script can check this to see if the user is on a secure connection... if not, you can redirect them.<BR><BR>HOWEVER, if you are receiving errors like "Can&#039t find server or DNS error", then it probably means that your server is not listening on port 443 to begin with. There is no way to trap that on the server side because the server is never even being hit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts