Drupal, Securepages and Secure Certificates

nid

228

vid

228

type

blog

status

1

created

1199331066

changed

1199331066

comment

2

promote

1

sticky

0

revision_timestamp

1199331066

title

Drupal, Securepages and Secure Certificates

body

<p>I think that I have finally determined a solution that works for the sites I maintain. This seems to solve almost all the problems that I have encountered:</p> <ol> <li>Install the non-ssl site in the sites directory: nonsecure.example.com</li> <li>Create a new directory in /sites/ for the ssl site: secure.example.com</li> <li>Copy the settings file from the nonsecure to the secure directory. Change the base_url to be the secure site's URL</li> <li>Create symlinks FROM the nonsecure directory to the secure directory:</li> <li>ln -s nonsecure.example.com/themes secure.example.com/</li> <li>ln -s nonsecure.example.com/files secure.example.com/</li> <li>ln -s nonsecure.example.com/modules secure.example.com/</li> </ol>

teaser

I think that I have finally determined a solution that works for the sites I maintain. This seems to solve almost all the problems that I have encountered: <ol> <li>Install the non-ssl site in the sites directory: nonsecure.example.com</li> <li>Create a new directory in /sites/ for the ssl site: secure.example.com</li> <li>Copy the settings file from the nonsecure to the secure directory. Change the base_url to be the secure site's URL</li> <li>Create symlinks FROM the nonsecure directory to the secure directory:</li> <li>ln -s nonsecure.example.com/themes secure.example.com/</li>

log

format

1

uid

1

name

davea

picture

data

a:6:{s:6:"submit";s:18:"Create new account";s:7:"form_id";s:13:"user_register";s:7:"contact";i:0;s:5:"block";a:1:{s:2:"og";a:1:{i:4;i:1;}}s:8:"og_email";s:1:"2";s:15:"googleanalytics";a:1:{s:6:"custom";i:0;}}

last_comment_timestamp

1199331066

last_comment_name

NULL

comment_count

0

taxonomy

Array
(
)

files

Array
(
)

readmore

1

content

Array
(
    [body] => Array
        (
            [#value] => <p>I think that I have finally determined a solution that works for the sites I maintain. This seems to solve almost all the problems that I have encountered:</p>
<ol>
<li>Install the non-ssl site in the sites directory: nonsecure.example.com</li>
<li>Create a new directory in /sites/ for the ssl site: secure.example.com</li>
<li>Copy the settings file from the nonsecure to the secure directory. Change the base_url to be the secure site's URL</li>
<li>Create symlinks FROM the nonsecure directory to the secure directory:</li>
<li>ln -s nonsecure.example.com/themes secure.example.com/</li>
<li>ln -s nonsecure.example.com/files secure.example.com/</li>
<li>ln -s nonsecure.example.com/modules secure.example.com/</li>
</ol>

            [#weight] => 0
        )

)