+ Post New Thread
Results 1 to 10 of 10
Web Development Thread, Getting Moodle to logon using a different https port in Coding and Web Development; Does anyone know how i can get moodle to logon using an alternative ssl port (not 443). I only want ...
  1. #1

    Join Date
    Jun 2005
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Getting Moodle to logon using a different https port

    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?

  2. #2

    Join Date
    Nov 2005
    Location
    Middlesbrough
    Posts
    402
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Getting Moodle to logon using a different https port

    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

  3. #3

    Join Date
    Jun 2005
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Getting Moodle to logon using a different https port

    i done that. but when i click logon moodle still looks for the https on port 443

  4. #4

    Join Date
    Nov 2005
    Location
    Middlesbrough
    Posts
    402
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Getting Moodle to logon using a different https port

    Ahah, is there no option to change the ssl port in the config anywhere?

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Getting Moodle to logon using a different https port

    change the address in the login.php

  6. #6

    Join Date
    Jun 2005
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Getting Moodle to logon using a different https port

    There isn't anything like that in login.php, unless i'm using CAS to authenticate which i'm not (I'm using LDAP)

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Getting Moodle to logon using a different https port

    Sorry. My bad. You need to alter how the $CFG->httpswwwroot is generated in the httpsrequired() function in /lib/moodlelib.php.

  8. #8

    Join Date
    Jun 2005
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Getting Moodle to logon using a different https port

    Tried loads of different things in that function, none seemed to work. Thanks though.

    Anyone else any ideas?

  9. #9

    Join Date
    Nov 2005
    Location
    Middlesbrough
    Posts
    402
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Getting Moodle to logon using a different https port

    You tried posting a question on the Moodle forums?

  10. #10

    Join Date
    Jun 2005
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Getting Moodle to logon using a different https port

    Yes I have got no reply at all there!

SHARE:
+ Post New Thread

Similar Threads

  1. No https:// requests can get through
    By Scotmk in forum Windows
    Replies: 21
    Last Post: 20th October 2008, 05:43 PM
  2. https Question. . .
    By maniac in forum Web Development
    Replies: 7
    Last Post: 6th January 2008, 07:17 PM
  3. IE6 https problem
    By Spongor in forum Windows
    Replies: 7
    Last Post: 2nd November 2006, 09:25 AM
  4. E-Portal and https configuration
    By daveyboy in forum MIS Systems
    Replies: 3
    Last Post: 13th September 2006, 01:04 PM
  5. RDP over HTTP / HTTPS
    By GrumbleDook in forum Windows
    Replies: 2
    Last Post: 3rd September 2006, 09:37 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •