Moodle installation in differant ports

Moodle installation in differant ports

by rupamoy bhattacharya -
Number of replies: 3

I want to install moodle on IIS7 platform in this way, initial login page will run on SSL i.e. port 443 and after user logged in will redirect to http i.e. port 80. Is this possible ?

If so then plz share the process also... Thanks in advnc smile

Regards,

Rupamoy

 

 

 

 

Average of ratings: -
In reply to rupamoy bhattacharya

Re: Moodle installation in differant ports

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

First - don't miss this step - get HTTPS working on your site (nothing to do with moodle) and make sure you can access moodle pages by manually adding 'https:' the front of Moodle URLs.

Then, go to Site administration > Security > HTTP Security and tick 'Use HTTPS for logins'. Save. Done.

In reply to Howard Miller

Re: Moodle installation in differant ports

by rupamoy bhattacharya -

I have tried the same... updated the security option but still after login it is running in https. not getting redirected to http sad

 

In reply to rupamoy bhattacharya

Re: Moodle installation in differant ports

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

What is in your config.php? If the wwwroot line looks like...

$CFG->wwwroot = 'https://....

...then that's your problem. It should be 'http' not 'https'.

Failing that, it's your IIS setup. You must be rewriting everything to https