差異處
這裏顯示兩個版本的差異處。
兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
tech:dokuwiki_auth_mantis [2016/12/12 23:05] – [Dokuwiki] jonathan | tech:dokuwiki_auth_mantis [2016/12/14 23:33] (目前版本) – jonathan | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== DokuWiki 採用 Mantis 認證權限 ====== | ||
+ | |||
+ | * Dokuwiki : 2016-06-26a " | ||
+ | * Mantis : 1.3.4 | ||
+ | |||
+ | ===== Dokuwiki ===== | ||
+ | * 安裝 [[https:// | ||
+ | * 設定 Mantis 相關資訊 / | ||
+ | <?php | ||
+ | define( ' | ||
+ | define( ' | ||
+ | require_once( MANTIS_ROOT . ' | ||
+ | ?> | ||
+ | </ | ||
+ | * 將認證方式改成 authmantis , / | ||
+ | <?php | ||
+ | /* | ||
+ | * Dokuwiki' | ||
+ | * Auto-generated by config plugin | ||
+ | * Run for user: | ||
+ | * Date: Mon, 12 Dec 2016 14:24:17 +0000 | ||
+ | */ | ||
+ | |||
+ | $conf[' | ||
+ | $conf[' | ||
+ | : | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | : | ||
+ | </ | ||
+ | * 設定 Mantis 對應權限 / | ||
+ | : | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | </ | ||
+ | * 這樣在 Mantis 登入後, 直接到 dokuwiki 網頁就會直接以 Mantis 登入身份狀態存取 | ||
+ | * 如果編輯 wiki 時工具列無法完整呈現時, | ||
+ | : | ||
+ | : | ||
+ | ## Not all installations will require the following line. If you do, | ||
+ | ## change "/ | ||
+ | ## to your document root. | ||
+ | RewriteBase /wiki | ||
+ | |||
+ | # for Integration Mantis Toobar error issue | ||
+ | Header set Content-Security-Policy "allow ' | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | ===== 參考網址 ===== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | {{tag> | ||