Seamlessly Redirect HTTPS Traffic to HTTP

Discussion in 'Apache' started by KarlRixon, Aug 12, 2008.

  1. #1
    Hi All,

    I have a site that receives quite a lot of links from external sites. Some of these links have mistakenly linked to a HTTPS version of the site which has then had some pages indexed. I have a virtual server configured to handle all traffic on port 443.

    The issue is the site does not need SSL, there is nothing needing the security.

    I have written a rewrite rule which catches all port 443 traffic and redirects it to the http server. However modern browsers still complain about self-signed certificate before the redirect takes place, and this problem is precisely what I am trying to avoid.

    The site is for a charity so paying out to externally sign a certificate isnt really an option considering we don't need SSL so can't justify the money. I have now created a robots.txt file which will hopefully prevent any further indexing of https version of the site, but unfortunately the damage has been done already.

    Is there a way I can redirect all https traffic received by this virtual server to the standard port 80 server which takes place before the certificate is examined? I'm kind of guessing the answer is no, but I live in hope. If anyone knows of anyway around this issue I'd be grateful to hear from you.

    Karl
     
    KarlRixon, Aug 12, 2008 IP
  2. HostPenguin

    HostPenguin Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How many pages need to be edited? You could always fork over about $10.00 and purchase an SSL license.
     
    HostPenguin, Aug 12, 2008 IP
  3. KarlRixon

    KarlRixon Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    $10 - where from? A quick check of the Verisign site suggest closer to $700 which as a charity is money we can't justify for something we don't need.

    In terms of number of pages the site probably has about 1000 pages at any one time, but none of them require SSL.
     
    KarlRixon, Aug 12, 2008 IP
  4. HostPenguin

    HostPenguin Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    HostPenguin, Aug 12, 2008 IP