On 25.02.2009, at 13:55, [email protected] wrote:
> i just installed mwlib and want to use the cgi.
> Our Wiki is not readable by anonymous, so mwlib needs user/password.
> If i run mw-render on console with --login parameter all works fine.
> But, in the cgi is no option for login-data.
It's not an option for the CGI script (or for mw-serve), but an option
you have to set for your MediaWiki installation, e.g. in your
LocalSettings.php:
$wgCollectionMWServeCredentials = 'someuser:somepassword';
See README.txt of the Collection extension.
The reason is that the render server can be used by multiple wikis,
each with a potentially different login.
-- Johannes
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---