Hi there,
I'm assuming I'm doing something wrong as I'm not hot on Linux, Python
etc but I have spent 3 days trying to get mwlib working and still no
joy!
Situation is Ubuntu server with mwlib on, IIS7 on a windows domain
with MediaWiki on.
Accessing api.php with the username and password given to mwlib works
and in the logs I get 2 lines: a 401 without the username, followed by
a 200 with the username.
GET /wiki/api.php - 80 - HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows
+NT+6.1;+en-GB;+rv:1.9.2.6)+Gecko/20100625+Firefox/3.6.6 www.thedomain.com
401
GET /wiki/api.php - 80 DOMAIN\username HTTP/1.1 Mozilla/5.0+
(Windows;+U;+Windows+NT+6.1;+en-GB;+rv:1.9.2.6)+Gecko/20100625+Firefox/
3.6.6 www.thedomain.com 200
When mwlib accesses the page, the log only shows one attempt and no
username passed across.
POST /wiki/api.php - 80 - HTTP/1.0 Twisted+PageGetter - - www.thedomain.com
401
The command line I am using is:
sudo mw-render --config=http://www.thedomain.com/wiki --writer=rl
--output=./test.pdf --username=theusername --password=thepassword --
domain=THEDOMAIN Category:South_Africa
(Obviously I've taken out any "sensitive" information and used
placeholders)
Is this an IIS or an mwlib issue? I've tried with basic auth over
windows auth and the result is exactly the same.
Any help greatly appreciated at this point as I am completely stuck.
Richard
--
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mwlib?hl=en.