Moodle

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 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

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 (skodak) 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 (skodak) 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 (skodak) added a comment -

Not yet

Show
Petr Škoda (skodak) added a comment - Not yet
Hide
Petr Škoda (skodak) added a comment -

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

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

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: