ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Enforce SSL Connection on Forums?

March 02, 2009 12:23pm

Subscribe [2]
  • #1 / Mar 02, 2009 12:23pm

    RJB

    35 posts

    Does anyone know of a way to enforce HTTPS (SSL) connections to the forum module, while keeping the rest of the site over normal HTTP connections? For example:

          http://www.example.com/
          https://www.example.com/forums/

    I’ve changed all of the obvious paths and settings for the Forum Module (Deeploy Helper to the rescue!), but the paths produced by the forum theme ignore my settings and generate all links as HTTP, not HTTPS.

    Here are the settings I have configured:

          CP Home > Modules > Discussion Forum > Site Name > Forum Board Preferences
          Forum URL: https://www.example.com/

          CP Home > Admin > System Preferences > General Configuration
          URL to the root directory of your site: http://www.example.com/

    Is there a setting I’m overlooking to enable SSL links in the Forum, a path that I need to change, or a Global Path Variable I can use?

    I would prefer to avoid using .htaccess or mod_rewrite rules to limit the amount of work Apache has to do, but if that’s the only option so be it ... thoughts?

    Update: Apparently, others have written similar requests as mine, and from what I can gather using mod_rewrite seems the only viable solution since everything in ExpressionEngine gets run through the “index.php” file. See:

    Forcing SSL for Member Authentication Actions
    http://ellislab.com/forums/viewthread/106956/

  • #2 / Mar 02, 2009 3:43pm

    Ingmar

    29245 posts

    I can’t think of an easy way to do that. Personally, if turning on secure connections for all of your site, I’d use mod_rewrite.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases