Hi list, we are setting up a mediawiki for our company and already own a salesforce intranet platform. Now, we want to restrict access to our mediawiki from this salesform platform via ip-restriction only. Does anyone know, if this ist possible and how to do it? Could you please point me to further information on it? Thanks a lot. Best, Daniela
Since MediaWiki 1.14.0, you can set the following in LocalSettings.php:
$wgAutopromote['reader'] = array( APCOND_ISIP, '127.0.0.1' ); $wgGroupPermissions['reader']['read'] = true; $wgImplicitGroups[] = 'reader';
You can find more information abour $wgAutopromote at http://www.mediawiki.org/wiki/Manual:$wgAutopromote
Alexandre Emsenhuber (ialex)
Le 23.3.2009 16:10, « Daniela Lentge » dl.sporty@googlemail.com a écrit :
Hi list, we are setting up a mediawiki for our company and already own a salesforce intranet platform. Now, we want to restrict access to our mediawiki from this salesform platform via ip-restriction only. Does anyone know, if this ist possible and how to do it? Could you please point me to further information on it? Thanks a lot. Best, Daniela _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Daniela Lentge wrote:
Now, we want to restrict access to our mediawiki from this salesform platform via ip-restriction only. Does anyone know, if this ist possible and how to do it? Could you please point me to further information on it?
You can do this in the web server's configuration. For example, in Apache, you can use something like:
<Directory "/Path/to/wiki"> Order deny,allow Deny from all Allow from 192.168.1.1 </Directory>
in the virtual host specification for the wiki. See the documentation for your web server for details.
Mike
looked at the extension http://www.mediawiki.org/wiki/Extension:RegexBlock may be -----Message d'origine----- De : mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] De la part de Daniela Lentge Envoyé : lundi 23 mars 2009 16:10 À : mediawiki-l@lists.wikimedia.org Objet : [Mediawiki-l] allowing mediawiki access from one IP-address only
Hi list, we are setting up a mediawiki for our company and already own a salesforce intranet platform. Now, we want to restrict access to our mediawiki from this salesform platform via ip-restriction only. Does anyone know, if this ist possible and how to do it? Could you please point me to further information on it? Thanks a lot. Best, Daniela _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org