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

Local Solr is blocked by curl restrictions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.3, 3.3
    • 3.2.6, 3.3.3
    • Global search
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • wip-MDL-58915-master
    • Easy
    • Hide
      1. Install and setup Solr as the searh engine, see https://docs.moodle.org/33/en/Global_search#How_to_install_Solr
      2. in Site administration > Security > HTTP security block the host where solr is installed
      3. Check status on Site administration > Plugins > Search > Manage global search , it should be ok
      4. re-index site contents
      5. search for something
      Show
      Install and setup Solr as the searh engine, see https://docs.moodle.org/33/en/Global_search#How_to_install_Solr in Site administration > Security > HTTP security block the host where solr is installed Check status on Site administration > Plugins > Search > Manage global search , it should be ok re-index site contents search for something

    Description

      If Solr address is specified in site administration as localhost it get effectively blocked by $CFG->curlsecurityblockedhosts

      Considering only admin can set the solr address it should bypass blocked hosts setting.

      Attachments

        Activity

          People

            marina Marina Glancy
            marina Marina Glancy
            Jake Dallimore Jake Dallimore
            David Monllaó David Monllaó
            Mihail Geshoski Mihail Geshoski
            David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Nov/17