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

Missing webserver for setup_get_remote_url() in setuplib

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: Installation
    • Labels:
    • Environment:
      PHP Version:5.3.3 Syste:Linux Server API: CGI/FastCGI
    • Database:
      MySQL
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Some Provider have HTTPD as Webserver.
      The function setup_get_remote_url() must be extended for example with following code.

      else  if (stripos($_SERVER['SERVER_SOFTWARE'], 'HTTPD') !== false) {
              //HTTPD server
              $rurl['fullpath'] = $_SERVER['REQUEST_URI'];
      }

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            iconnewmedia Jan Westphal
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/May/11