[support] ssl + login best practice

Earnie Boyd earnie at users.sourceforge.net
Fri Jul 31 12:56:36 UTC 2009


Quoting Geoff O'Callaghan <geoffocallaghan at gmail.com>:

> Hi All,
>
> Running D6.  What's the best practice for setting up a site where
> content is delivered by http *until* the user logs on and from then on I
> want all content to be via https.
>

Ideas only here; none of them tested.  A hook_init in a custom module.  
  Some code in settings.php to modify the $base_url if the $user->uid  
!= 0.  A mod_rewrite pattern and rule.

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/




More information about the support mailing list