Uploaded image for project: '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
    • Status: Closed
    • Priority: 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

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              dougiamas Martin Dougiamas added a comment -
              Show
              dougiamas Martin Dougiamas added a comment - Agreed. Example code here: http://www.php.net/manual/en/function.fsockopen.php#58196
              Hide
              skodak Petr Skoda 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
              skodak Petr Skoda 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
              ax5 Peter Sinn added a comment -

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

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

              Not yet

              Show
              skodak Petr Skoda added a comment - Not yet
              Hide
              skodak Petr Skoda added a comment -

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

              Show
              skodak Petr Skoda 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:
                    Fix Release Date:
                    3/Mar/08