Results 1 to 2 of 2

Thread: HTTPS Help.

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2007

    Default HTTPS Help.


    I want to make my members to see a registration form in my website using SSL always. If they type h t t p : // register dot demo dot com, I want it to automatically go to h t t p s :// register dot demo dot com.

    How can I do this without affecting any other domain or subdomain?

    Thank you.

    ps: Sorry about the links, I cant post it when I don't have 15 posts :P

  2. #2
    Member Newbie
    Join Date
    Oct 2006


    You could create a .htaccess file in the directory that contains the registration form, and use these rules (assuming you have mod_rewrite enabled):

    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]


Posting Permissions

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