Joomdle /moodle forces to https

Joomdle /moodle forces to https

by Graham Paull -
Number of replies: 2

Hi fellow Moodlers,

I have recently started a nifty new job managing a Joomla CMS and Moodle LMS using Joomdle, they have it working really well although one issue stands out that needs fixed and I am bit baffled as to where I need to start.

Firstly, here are some versions, If I miss anything, just remind me:

  • Joomla 2.5
  • Moodle 2.6
  • Joomdle
  • Windows Server 2008 R2
  • Apache 2.4
  • Latest PHP (Cant remember the exact version)
  • Latest MySQL (Cant remember the exact version)

The Issue I am having is :

When I go to Joomla (Main Site) and log in with my account, I log in successfully, now If I put /moodle (Moodle is within the Joomla site) the Moodle goes to https:// which in turn fails to load any CSS, its just a plain page with everything everywhere, I then need to remove the S from https:// then everything loads up as normal.

Here's the quirky bit, this will only happen outside of the companys network which leads me to believe that this is maybe an issue with Apache, If I am in the office I am unable to replicate the issue.

Im not sure if you will need any more info, if you do then feel free to ask and I will provide this.

Any help on this issue will be appreciated very much.

 

Ta! Graham

 

 

Average of ratings: -
In reply to Graham Paull

Re: Joomdle /moodle forces to https

by Graham Paull -

Can anyone even point me in the right direction ?

 

In reply to Graham Paull

Re: Joomdle /moodle forces to https

by Miguel Santos -

Hi Graham,

   Does Joomla use https for its content?  If so did you set up an SSL cert to work with Apache or on campus is the site listed as a trusted site so it is not doing a certificate lookup?

It is "normal" for a moodle site that is http to not load its css when you force https because the css is expecting the calling page to be using http and now due to the "mixed content" the css is not loaded.

 

You could add a link to your Joomla that has the full path of moodle using http without the S
You could set up moodle to use https for everything (this will negate Apache's ability to cache php - not recommended)
If you have a working SSL certificate on the server you could require login to access moodle ( Site Admin block > Security > Site Policies - check Force users to log in) and require logins to use https ( Site Admin bock > Security > HTTP Security - check Use HTTPS for logins)

 

Hope that helps

Average of ratings: Useful (1)