Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6843

moodle has some problem working with reverse proxy (squid)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.9, 1.9.1, 1.9.2
    • Libraries
    • None
    • linux box

    • Any
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_20_STABLE

      (original) moodle standard and other theme is not working fine in reverse proxy.... tables are not being showned properly, alignment and redirection to http://localhost/my is not working also....

      (Wen added/modified) OK if I may I'm reopening this ticket. We had the same issue before, but we found a work-around to make it work. At around line# 293 in /lib/weblib.php, in the function of "qualified_me()", when behind squid, we had to force the $protocol to use https for our setup to work. I guess maybe this (the $protocol) could be set from the site administration level instead of we have to hard-coded this when it's behind squid. I will also be curious about Martin L's solution about making the stock moodle codes to work with squid, do you have to make any changes like we did? (see screenshots). Thanks!

      Note: This could be a squid set up issue, and if this is the case it would be really great if someone could document their squid setup/configuration in docs.moodle.org. Thanks!

            skodak Petr Skoda
            genner Genner Cerna
            Nobody Nobody
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.