Hi,
I have set $wgHTTPProxy = "http://<our proxy>:80";
but it requires authentication. How can I set the username and password for such? I can find any doc on MediaWiki or the web that specifies how.
Regards,
David Mills | iMed Senior Technical Analyst | Medibank Private Level 16, 700 Collins Street, Docklands, VIC, 3008 | Tel: 03 8622 5346 | Mob: 0411 513 404
********************************************************************************** The information contained in or attached to this message is intended only for the people it is addressed to. If you are not the intended recipient, please notify the sender and delete the email. Any use, disclosure or copying of this information is unauthorised and prohibited. This information may be confidential or subject to legal privilege. It is not the expressed view of Medibank Private Limited (ABN 47 080 890 259) or any of its subsidiaries (together 'Medibank') unless it is authorised by a person with actual authority. To the fullest extent allowed by law, Medibank does not accept liability for any damage caused by this message, including any virus damage. **********************************************************************************
On Tue, 25 Jun 2013 08:11:13 +0200, David Mills David.Mills@medibank.com.au wrote:
Hi,
I have set $wgHTTPProxy = "http://<our proxy>:80";
but it requires authentication. How can I set the username and password for such? I can find any doc on MediaWiki or the web that specifies how.
Authentication how? Using basic HTPP auth? https://en.wikipedia.org/wiki/Basic_access_authentication
In this case you would just use a URL like htts://username:password@<our proxy>:80/ .
Thanks Matma,
I have set that as you suggest. It didn't help. I have checked that wget and PHP can get the pages from InstantCommons.
The Debug log is not showing any use of the proxy however. I get:
Start request POST /w/api.php HTTP HEADERS: HOST: imed-wiki USER-AGENT: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0 ACCEPT: application/json, text/javascript, */*; q=0.01 ACCEPT-LANGUAGE: en-gb,en;q=0.5 ACCEPT-ENCODING: gzip, deflate CONTENT-TYPE: application/x-www-form-urlencoded; charset=UTF-8 X-REQUESTED-WITH: XMLHttpRequest REFERER: http://imed-wiki/w/index.php?title=X&action=edit CONTENT-LENGTH: 115 COOKIE: iMed_wikiUserID=2; iMed_wikiUserName=M16743; wikidbUserName=M16743; wikidbUserID=2; wikiEditor-0-booklet-characters-page=symbols; wikiEditor-0-booklet-help-page=format; wikiEditor-0-toolbar-section=advanced; mw_installer_session=co1qpbdv9viln127pb6s18mie0; iMed_wiki_session=ccn60u329utg0jr342jqu2pm46; wikidb_session=0bcad2466e786e842a2ba2d3f4bd2e57 CONNECTION: keep-alive PRAGMA: no-cache CACHE-CONTROL: no-cache CACHES: EmptyBagOStuff[main] SqlBagOStuff[message] SqlBagOStuff[parser] session_set_cookie_params: "0", "/", "", "", "1" Class LanguageEn_gb not found; skipped loading LocalisationCache: using store LCStore_DB Connecting to imednow9dev.medibank.local wikidb... Profiler::instance called without $wgProfiler['class'] set, falling back to ProfilerStub for safety Connected to imednow9dev.medibank.local wikidb. Fully initialised ApiMain::setCacheMode: setting cache mode anon-public-user-private User::getBlockedStatus: checking... User: cache miss for user 2 Connecting to imednow9dev.medibank.local wikidb... Connected to imednow9dev.medibank.local wikidb. MessageCache::load: Loading en-gb... got from global cache Gadget::loadStructuredList: MediaWiki:Gadgets-definition parsed, cache entry wikidb:gadgets-definition:6 updated User: loading options for user 2 from database. User: logged in from session User: loading options for user 2 from override cache. Unstubbing $wgParser on call of $wgParser::preSaveTransform from ApiParse::execute Parser: using preprocessor: Preprocessor_DOM Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct ForeignAPIRepo: HTTP GET: http://commons.wikimedia.org/w/api.php?titles=File%3AWikipedia-Marker-common... Class PEAR_Error not found; skipped loading
Are there any other settings that might stop the proxy setting being used - or does the use of a proxy not get logged here? Also, I have PEAR installed and email from the Wiki is working, so why is the last line complaining about "PEAR_Error not found"?
Regards,
David Mills | iMed Senior Technical Analyst | Medibank Private Level 16, 700 Collins Street, Docklands, VIC, 3008 | Tel: 03 8622 5346 | Mob: 0411 513 404
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Bartosz Dziewonski Sent: Tuesday, 25 June 2013 9:43 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] How do you set a username/password for an http proxy?
On Tue, 25 Jun 2013 08:11:13 +0200, David Mills David.Mills@medibank.com.au wrote:
Hi,
I have set $wgHTTPProxy = "http://<our proxy>:80";
but it requires authentication. How can I set the username and password for such? I can find any doc on MediaWiki or the web that specifies how.
Authentication how? Using basic HTPP auth? https://en.wikipedia.org/wiki/Basic_access_authentication
In this case you would just use a URL like htts://username:password@<our proxy>:80/ .
You don't mention what OS you're running on, if it is linux, might you try to set a system environment variable for a http_proxy..?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l- bounces@lists.wikimedia.org] On Behalf Of David Mills Sent: Tuesday, June 25, 2013 1:11 AM To: MediaWiki-l@lists.wikimedia.org Subject: [MediaWiki-l] How do you set a username/password for an http proxy?
Hi,
I have set $wgHTTPProxy = "http://<our proxy>:80";
but it requires authentication. How can I set the username and password for such? I can find any doc on MediaWiki or the web that specifies how.
************************************************************************** The information contained in this message and any attached documents are intended only for the personal and confidential use of the designated recipient(s). This message may contain confidential or privileged information. If the reader of this message is not the intended recipient (or an agent responsible for delivering it to the intended recipient), you are hereby notified that any unauthorized distribution or copying of this email or the information contained within is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer. Wonderbox, its subsidiaries and its affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made do not necessarily reflect the views of Wonderbox Technologies. **************************************************************************
Windows Server 2008. I have changed it to $wgHTTPProxy = "http://username:password@<our proxy>:80";
Our debug log does not show it being used and I still cannot use or reference InstantCommons pages. Any ideas on what might prevent the proxy being used - or does its use not get logged in the debug log.
Also, in the Debug log I see the line: Class PEAR_Error not found; skipped loading
but PEAR is installed and is being used for successfully for emails. Any idea why this might be happening?
Regards,
David Mills | iMed Senior Technical Analyst | Medibank Private Level 16, 700 Collins Street, Docklands, VIC, 3008 | Tel: 03 8622 5346 | Mob: 0411 513 404
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Scott J. Lopez Sent: Wednesday, 26 June 2013 11:22 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] How do you set a username/password for an http proxy?
You don't mention what OS you're running on, if it is linux, might you try to set a system environment variable for a http_proxy..?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l- bounces@lists.wikimedia.org] On Behalf Of David Mills Sent: Tuesday, June 25, 2013 1:11 AM To: MediaWiki-l@lists.wikimedia.org Subject: [MediaWiki-l] How do you set a username/password for an http proxy?
Hi,
I have set $wgHTTPProxy = "http://<our proxy>:80";
but it requires authentication. How can I set the username and password for such? I can find any doc on MediaWiki or the web that specifies how.
************************************************************************** The information contained in this message and any attached documents are intended only for the personal and confidential use of the designated recipient(s). This message may contain confidential or privileged information. If the reader of this message is not the intended recipient (or an agent responsible for delivering it to the intended recipient), you are hereby notified that any unauthorized distribution or copying of this email or the information contained within is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer. Wonderbox, its subsidiaries and its affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made do not necessarily reflect the views of Wonderbox Technologies. ************************************************************************** _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ********************************************************************************** The information contained in or attached to this message is intended only for the people it is addressed to. If you are not the intended recipient, please notify the sender and delete the email. Any use, disclosure or copying of this information is unauthorised and prohibited. This information may be confidential or subject to legal privilege. It is not the expressed view of Medibank Private Limited (ABN 47 080 890 259) or any of its subsidiaries (together 'Medibank') unless it is authorised by a person with actual authority. To the fullest extent allowed by law, Medibank does not accept liability for any damage caused by this message, including any virus damage. **********************************************************************************
mediawiki-l@lists.wikimedia.org