1 Reply Latest reply on Mar 11, 2009 11:35 PM by waquin

    HTTPS redirect

    waquin

      Hi,
      I have created a simple jsf login page and configured it within pages.xml to use https:


      <pages ... http-port="8080" https-port="8443">
      ...
      <page view-id="/login.xhtml" scheme="https"/>



      So when I click on my link to the login page I am directed to https://localhost:8443/app/login.seam


      Now, my question is, How do I configure a redirect from http to https?


      So when http://localhost:8443/app/login.seam is entered the browser is redirected to the https version rather than just shown a blank page.


      Thanks for any help.