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-commo…
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(a)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(a)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/
.
--
Matma Rex
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)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.
**********************************************************************************