optional SSL / detect https and rewrite links

Discussion in 'Apache' started by flOid, Oct 28, 2010.

  1. #1
    I would like to to setup via mod_rewrite to automatically detect if my website is being accessed via https/SSL and if so rewrite all internal links with https:// included. If the site is accessed via http, all links should remain the same. This is for a vbulletin 3.8. forum. Is this even possible? Any help with this?
     
    flOid, Oct 28, 2010 IP
  2. gopkris2000

    gopkris2000 Peon

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can configure redirect settings http:// to https:// in your .htaccess and change all internal links to https://
     
    gopkris2000, Nov 2, 2010 IP