<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Shouldn't have done it from memory LOL. Try this one:<br>
    <br>
    RewriteCond %{SERVER_PORT} !^443$<br>
    RewriteRule ^(.*)$ <a class="moz-txt-link-freetext" href="https://%">https://%</a>{SERVER_NAME}$1 [L,R]<br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a> 
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
    <br>
    On 7/22/2011 12:07 PM, Lynn Stott (Stott Design) wrote:
    <blockquote
      cite="mid:4764DEDD-FB6D-480C-8FA9-BBEB60F35AD2@stottdesign.com"
      type="cite">This doesn't work.
      <div><br>
        <div>
          <span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: 'Century
            Gothic'; font-style: normal; font-variant: normal;
            font-weight: normal; letter-spacing: normal; line-height:
            normal; orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;
            font-size: medium;"><span class="Apple-style-span"
              style="border-collapse: separate; color: rgb(0, 0, 0);
              font-family: 'Century Gothic'; font-style: normal;
              font-variant: normal; font-weight: normal; letter-spacing:
              normal; line-height: normal; orphans: 2; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; font-size: medium;">
              <div style="word-wrap: break-word;"><span
                  class="Apple-style-span" style="border-collapse:
                  separate; color: rgb(0, 0, 0); font-family: 'Century
                  Gothic'; font-style: normal; font-variant: normal;
                  font-weight: normal; letter-spacing: normal;
                  line-height: normal; orphans: 2; text-indent: 0px;
                  text-transform: none; white-space: normal; widows: 2;
                  word-spacing: 0px; font-size: medium;">
                  <div style="word-wrap: break-word;"><span
                      class="Apple-style-span" style="border-collapse:
                      separate; color: rgb(0, 0, 0); font-family:
                      'Century Gothic'; font-style: normal;
                      font-variant: normal; font-weight: normal;
                      letter-spacing: normal; line-height: normal;
                      orphans: 2; text-indent: 0px; text-transform:
                      none; white-space: normal; widows: 2;
                      word-spacing: 0px; font-size: medium;">
                      <div style="word-wrap: break-word;">Thanks,<br>
                        Lynn Stott<br>
                        <a moz-do-not-send="true"
                          href="http://www.stottdesign.com">www.stottdesign.com</a><br>
                        208.871.0073<br>
                        <br>
                      </div>
                    </span></div>
                </span></div>
            </span></span>
        </div>
        <br>
        <div>
          <div>On Jul 22, 2011, at 9:56 AM, Jamie Holly wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div bgcolor="#ffffff" text="#000000"> Generic to force
              everything to ssl:<br>
              <br>
              ReWriteCond %{SERVER_PORT} !^443$<br>
              RewriteRule ^/(.*) <a moz-do-not-send="true"
                class="moz-txt-link-freetext" href="https://%/">https://%</a>{HTTP_HOST}/$1
              [NC,R,L]<br>
              <pre class="moz-signature" cols="72">Jamie Holly
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.intoxination.net/">http://www.intoxination.net</a> 
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.hollyit.net/">http://www.hollyit.net</a></pre>
              <br>
              On 7/22/2011 11:52 AM, Lynn Stott (Stott Design) wrote:
              <blockquote
                cite="mid:CB623145-FA50-4E58-9539-3944EB3D503D@stottdesign.com"
                type="cite">Yes, Linux, VPS, not shared.
                <div><br>
                </div>
                <div>No support on this from my host... on my own with
                  this and I just don't know .htaccess.&nbsp;</div>
                <div><br>
                  <div> <span class="Apple-style-span"
                      style="border-collapse: separate; font-style:
                      normal; font-variant: normal; font-weight: normal;
                      letter-spacing: normal; line-height: normal;
                      orphans: 2; text-indent: 0px; text-transform:
                      none; white-space: normal; widows: 2;
                      word-spacing: 0px; font-size: medium;"><span
                        class="Apple-style-span" style="border-collapse:
                        separate; font-family: 'Century Gothic';
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; orphans: 2; text-indent:
                        0px; text-transform: none; white-space: normal;
                        widows: 2; word-spacing: 0px; font-size:
                        medium;">
                        <div style="word-wrap: break-word;"><span
                            class="Apple-style-span"
                            style="border-collapse: separate;
                            font-style: normal; font-variant: normal;
                            font-weight: normal; letter-spacing: normal;
                            line-height: normal; orphans: 2;
                            text-indent: 0px; text-transform: none;
                            white-space: normal; widows: 2;
                            word-spacing: 0px; font-size: medium;">
                            <div style="word-wrap: break-word;"><span
                                class="Apple-style-span"
                                style="border-collapse: separate;
                                font-family: 'Century Gothic';
                                font-style: normal; font-variant:
                                normal; font-weight: normal;
                                letter-spacing: normal; line-height:
                                normal; orphans: 2; text-indent: 0px;
                                text-transform: none; white-space:
                                normal; widows: 2; word-spacing: 0px;
                                font-size: medium;">
                                <div style="word-wrap: break-word;">Thanks,<br>
                                  Lynn Stott<br>
                                  <a moz-do-not-send="true"
                                    href="http://www.stottdesign.com/">www.stottdesign.com</a><br>
                                  208.871.0073<br>
                                  <br>
                                </div>
                              </span></div>
                          </span></div>
                      </span></span> </div>
                  <br>
                  <div>
                    <div>On Jul 22, 2011, at 8:17 AM, Shai Gluskin
                      wrote:</div>
                    <br class="Apple-interchange-newline">
                    <blockquote type="cite">Lynn,
                      <div><br>
                      </div>
                      <div>Are you on a Linux server? I think you are
                        talking about using a mod_rewrite solution
                        which, I think, only works on Linux.</div>
                      <div><br>
                      </div>
                      <div>mod_rewrite is incredibly powerful and fussy.
                        I wouldn't risk advising you on the actual
                        script.</div>
                      <div><br>
                      </div>
                      <div>I actually think this kind of question might
                        best be handled by the support team at your
                        server company. I'm not saying you shouldn't ask
                        here... but if you don't get a response that
                        helps, that is another route to go.</div>
                      <div><br>
                      </div>
                      <div>Shai</div>
                      <div><br>
                        <div class="gmail_quote">On Fri, Jul 22, 2011 at
                          10:10 AM, Lynn Stott (Stott Design) <span
                            dir="ltr">&lt;<a moz-do-not-send="true"
                              href="mailto:lynn@stottdesign.com">lynn@stottdesign.com</a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote" style="margin:
                            0pt 0pt 0pt 0.8ex; border-left: 1px solid
                            rgb(204, 204, 204); padding-left: 1ex;">
                            <div style="word-wrap: break-word;">Can some
                              help with .htaccess?&nbsp;<br>
                              <br>
                              How do you redirect all&nbsp;<br>
                              <a moz-do-not-send="true"
                                href="https://www.site.com/"
                                target="_blank">https://www.site.com</a>&nbsp;<br>
                              <a moz-do-not-send="true"
                                href="http://www.site.com/"
                                target="_blank">http://www.site.com</a>&nbsp;<br>
                              <a moz-do-not-send="true"
                                href="http://site.com/" target="_blank">http://site.com</a><br>
                              <br>
                              to<br>
                              <br>
                              <a moz-do-not-send="true"
                                href="https://site.com/" target="_blank">https://site.com</a><br>
                              <br>
                              Thanks,<br>
                              <div> <span style="border-collapse:
                                  separate; color: rgb(0, 0, 0);
                                  font-family: 'Century Gothic';
                                  font-style: normal; font-variant:
                                  normal; font-weight: normal;
                                  letter-spacing: normal; line-height:
                                  normal; text-indent: 0px;
                                  text-transform: none; white-space:
                                  normal; word-spacing: 0px; font-size:
                                  medium;"><span style="border-collapse:
                                    separate; color: rgb(0, 0, 0);
                                    font-family: 'Century Gothic';
                                    font-style: normal; font-variant:
                                    normal; font-weight: normal;
                                    letter-spacing: normal; line-height:
                                    normal; text-indent: 0px;
                                    text-transform: none; white-space:
                                    normal; word-spacing: 0px;
                                    font-size: medium;">
                                    <div style="word-wrap: break-word;">
                                      <span style="border-collapse:
                                        separate; color: rgb(0, 0, 0);
                                        font-weight: normal;
                                        letter-spacing: normal;
                                        line-height: normal;
                                        text-indent: 0px;
                                        text-transform: none;
                                        white-space: normal;
                                        word-spacing: 0px; font-size:
                                        medium;">
                                        <div style="word-wrap:
                                          break-word;"> <span
                                            style="border-collapse:
                                            separate; color: rgb(0, 0,
                                            0); font-family: 'Century
                                            Gothic'; font-style: normal;
                                            font-variant: normal;
                                            font-weight: normal;
                                            letter-spacing: normal;
                                            line-height: normal;
                                            text-indent: 0px;
                                            text-transform: none;
                                            white-space: normal;
                                            word-spacing: 0px;
                                            font-size: medium;">
                                            <div style="word-wrap:
                                              break-word;"> <br>
                                            </div>
                                          </span></div>
                                      </span></div>
                                  </span></span></div>
                            </div>
                            <br>
                            --<br>
                            [ Drupal support list | <a
                              moz-do-not-send="true"
                              href="http://lists.drupal.org/"
                              target="_blank">http://lists.drupal.org/</a>
                            ]<br>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                      -- <br>
                      [ Drupal support list | <a moz-do-not-send="true"
                        href="http://lists.drupal.org/">http://lists.drupal.org/</a>
                      ]</blockquote>
                  </div>
                  <br>
                </div>
              </blockquote>
            </div>
            -- <br>
            [ Drupal support list | <a moz-do-not-send="true"
              href="http://lists.drupal.org/">http://lists.drupal.org/</a>
            ]</blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>