On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • First off, I know there are quite a few ways to force a site into HTTPS mode. This is may approach for one particular server, inserted directly above the default .htaccess mod_rewrite code that comes with MODx 0.9.5

    	# Force HTTPS
    	RewriteCond %{SERVER_PROTOCOL} !HTTPS
    	RewriteCond %{SERVER_PORT} 80
    	RewriteRule ^(.*)$ https://www.%{SERVER_NAME}/$1 [R=301,L,QSA]
    

    The problem?

    Tiny MCE popups (such as HTML-mode) do not work or fully render. I’m betting that somewhere within TinyMCE it references hard-coded HTTP, or expects a certain response, etc. Unfortunately, I’m not sure.

    1. Has anyone else ran into this issue before?

    2. Is there a solution that works while still allowing to ensure HTTPS?

    UPDATE:
    1. I am only forcing HTTPS on the root (/) level, not recursive through /manager/, etc
    2. I may have been logged in to manager via HTTPS when the issue occurred.
    3. I have tested both HTTP and HTTPS logins since, and this issue was not replicated, and appears to be working fine. How weird. I’ll leave this up for a little to see if anyone else has witnessed similar events.
      Mike Reid - www.pixelchutes.com
      MODx Ambassador / Contributor
      [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
      ________________________________
      Where every pixel matters.
    • One thing I failed to do is update the Resource URL: definition in System Configuration > Interface & Features...I needed to add the HTTPS:// protocol

      Which brings up a valid question:
      How/Where is the Server type declaration ( HTTP or HTTPS radios ) used within MODx?
        Mike Reid - www.pixelchutes.com
        MODx Ambassador / Contributor
        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
        ________________________________
        Where every pixel matters.