SSL and non SSL using the same content

Discussion in 'Apache' started by Pillus, Feb 11, 2010.

  1. #1
    Hi,

    One of the website im maintaining wanted to give their forum users a choice of using either ssl(https) or non ssl(http).

    Is this possible to share the same content within two vhosts?

    I got one vhost for normal connection listening to port 80, and longer down another vhost listening to port 443. Both having root dir as /var/www/SITE.

    I tried just adding this with all the certificate files etc and i got some problems that it beeing forced back to http all the time etc.

    Is this really possible to set up? I also tried to describe my problem including pastebin of my vhost config here: http://pastebin.ca/1793885

    Hope someone can help me out!

    Have a good day,

    Pillus
     
    Pillus, Feb 11, 2010 IP