Wiki_認証 のバックアップ(No.2) - アールメカブ

アールメカブ


Wiki_認証 のバックアップ(No.2)


_ vi pukiwiki.ini.php

パスワード生成 $ echo -n 'pass' | md5sum

$auth_users = array(
       // Username => password
//      'foo'   => 'foo_passwd', // Cleartext
//      'bar'   => '{x-php-md5}pass', // PHP md5() '
        'usrs'      => '{x-php-md5}pass', // PHP md5()  
                 
// Edit auth (0:Disable, 1:Enable)
$edit_auth = 1;

$edit_auth_pages = array(
       // Regex                   Username
       '/.*/'  => 'users',
      // '#BarDiary#'            => 'bar',
      // '#HogeHoge#'            => 'hoge',
      // '#(NETABARE|NetaBare)#' => 'foo,bar,hoge',
);