Hello,
I'm running mediawiki on a Intranet server who required authication. When I would like to run "maintenance/dumpBackup.php > wikidb.xml" wikidb.xml contains only a 401 HTTP error : Authorization required.
Can I pass HTTP User & Password on anyway to 'dumpBackup.php' or another trick to dump the Wiki DB?
Thanks by advance!
You could put the following (or something similar) into your LocalSettings.php:
# Turn off read restrictions if coming from localhost if ( $_SERVER['REMOTE_ADDR'] == "127.0.0.1" ) { $wgGroupPermissions['*']['read'] = true; }
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of L.M.J. Sent: Thursday, December 27, 2007 9:33 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] maintenance/dumpBackup.php + SingleSign OnConfiguration
Hello,
I'm running mediawiki on a Intranet server who required authication. When I would like to run "maintenance/dumpBackup.php > wikidb.xml" wikidb.xml contains only a 401 HTTP error : Authorization required.
Can I pass HTTP User & Password on anyway to 'dumpBackup.php' or another trick to dump the Wiki DB?
Thanks by advance!
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Le Thu, 27 Dec 2007 09:44:38 -0600, "Lane, Ryan" Ryan.Lane@ocean.navo.navy.mil a écrit :
You could put the following (or something similar) into your LocalSettings.php:
# Turn off read restrictions if coming from localhost if ( $_SERVER['REMOTE_ADDR'] == "127.0.0.1" ) { $wgGroupPermissions['*']['read'] = true; }
Thanks you for the answer but the authentication is on the Apache side (that's why I have a 401 HTTP error) This should be fixed before early.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of L.M.J. Sent: Thursday, December 27, 2007 9:33 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] maintenance/dumpBackup.php + SingleSign OnConfiguration
Hello,
I'm running mediawiki on a Intranet server who required authication. When I would like to run "maintenance/dumpBackup.php > wikidb.xml" wikidb.xml contains only a 401 HTTP error : Authorization required.
Can I pass HTTP User & Password on anyway to 'dumpBackup.php' or another trick to dump the Wiki DB?
Thanks by advance!
Le Thu, 27 Dec 2007 09:44:38 -0600, "Lane, Ryan" Ryan.Lane@ocean.navo.navy.mil a écrit :
You could put the following (or something similar) into your LocalSettings.php:
# Turn off read restrictions if coming from localhost if ( $_SERVER['REMOTE_ADDR'] == "127.0.0.1" ) { $wgGroupPermissions['*']['read'] = true; }
Thanks you for the answer but the authentication is on the Apache side (that's why I have a 401 HTTP error) This should be fixed before early.
Actually, the problem was I was running "php5-cgi" which can be used only via authentication. the php5 command runs just fine!
Thanks
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of L.M.J. Sent: Thursday, December 27, 2007 9:33 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] maintenance/dumpBackup.php + SingleSign OnConfiguration
Hello,
I'm running mediawiki on a Intranet server who required authication. When I would like to run "maintenance/dumpBackup.php > wikidb.xml" wikidb.xml contains only a 401 HTTP error : Authorization required.
Can I pass HTTP User & Password on anyway to 'dumpBackup.php' or another trick to dump the Wiki DB?
Thanks by advance!
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org