p.simmons Posted March 7, 2006 Posted March 7, 2006 Does anyone know how i can get moodle to logon using an alternative ssl port (not 443). I only want logon to be on https. Any ideas?
indie Posted March 7, 2006 Posted March 7, 2006 Having not used Moodle I may be pointing you in the wrong direction but to make Moodle use a different port for SSL you'll need to modify your web server config. For Apache you'll need to change the Listen and VirtualHost values from 443 to the other port number. HTH
p.simmons Posted March 7, 2006 Author Posted March 7, 2006 i done that. but when i click logon moodle still looks for the https on port 443
indie Posted March 7, 2006 Posted March 7, 2006 Ahah, is there no option to change the ssl port in the config anywhere?
p.simmons Posted March 8, 2006 Author Posted March 8, 2006 There isn't anything like that in login.php, unless i'm using CAS to authenticate which i'm not (I'm using LDAP)
Geoff Posted March 8, 2006 Posted March 8, 2006 Sorry. My bad. You need to alter how the $CFG->httpswwwroot is generated in the httpsrequired() function in /lib/moodlelib.php.
p.simmons Posted March 8, 2006 Author Posted March 8, 2006 Tried loads of different things in that function, none seemed to work. Thanks though. Anyone else any ideas?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now