开发者

MediaWiki and redirecting all non-members

开发者 https://www.devze.com 2023-01-29 16:47 出处:网络
I built my own login system, and I also have a MediaWiki installed for my members to use. However, I want it only accessible to my members, so I want to redirect all persons who do not pass the sessio

I built my own login system, and I also have a MediaWiki installed for my members to use. However, I want it only accessible to my members, so I want to redirect all persons who do not pass the session variable check. Where can I place this check? I tried putting it in index.php of MediaWiki, but that does not work for any other part of the wiki then its开发者_如何学运维 index.php: domain.com/wiki/index.php

Any advice is appreciated! Thank you!


Try LocalSettings.php, it's executed for every request hitting the Wiki.

0

精彩评论

暂无评论...
验证码 换一张
取 消