Moodle
  1. Moodle
  2. MDL-7921

Proxy username and password can't be defined. There is not a way to do this; when our server is connect trough a proxy, this connection failes because the user and password are missing.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.9, 2.0
    • Component/s: Administration
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Rank:
      34324

      Description

      This problem is present in all version of moodle and can be solve adding two new records (proxyuser, proxypass) in the config table.
      This modification should be used in the 'proxy_url' function defined in admin/langimport.php, and in all those pages that uses proxy features.

        Issue Links

          Activity

          Hide
          Martin Dougiamas added a comment -
          Show
          Martin Dougiamas added a comment - Agreed. Example code here: http://www.php.net/manual/en/function.fsockopen.php#58196
          Hide
          Petr Škoda added a comment -

          I have created a new more general bug MDL-7947

          to MD: What is the priority - 1.8 or later? I would need at least a day to do the coding + setup the proxy and test the code with curls, fsockopen workaround and fopen

          Show
          Petr Škoda added a comment - I have created a new more general bug MDL-7947 to MD: What is the priority - 1.8 or later? I would need at least a day to do the coding + setup the proxy and test the code with curls, fsockopen workaround and fopen
          Hide
          Peter Sinn added a comment -

          Is is possible to set proxyuser and proxypass manually for the time being? Where?

          Show
          Peter Sinn added a comment - Is is possible to set proxyuser and proxypass manually for the time being? Where?
          Hide
          Petr Škoda added a comment -

          Not yet

          Show
          Petr Škoda added a comment - Not yet
          Hide
          Petr Škoda added a comment -

          should be fixed in latest 1.9dev, expect some more changes though
          thanks for the report

          Show
          Petr Škoda added a comment - should be fixed in latest 1.9dev, expect some more changes though thanks for the report

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: