ホーム > 未分類 > dokuwiki設置、アクセスコントロール設定

dokuwiki設置、アクセスコントロール設定

dokuwikiの設置とアクセスコントロールの設定をしたのでメモ。

  1. インストール
    • こちらから最新バージョンをダウンロード
    • ダウンロードしたアーカイブを展開、適当な名前にリネームしてapacheからアクセスできるところにmv。
    • dataディレクトリにchanges.logというファイルを作成し、apacheをオーナーに。こんなかんじ。
      > cd /path/to/dokuwiki
      > touch data/changes.log
      > sudo chown -R www data
      
    • confディレクトリにlocal.phpというファイルを作成し、各種設定を記述。
      <?php
      $conf['title'] = "hapicky's wiki";
      $conf['lang'] = 'ja';
      ?>
      

      ここまでの設定でとりあえず動くはず。

  2. アクセスコントロールの設定
    • 続いてアクセスコントロールの設定。まずは以下のファイルを複製
      > cp conf/acl.auth.php.dist conf/acl.auth.php
      > cp conf/users.auth.php.dist conf/users.auth.php
    • さらにchown
      > chown www conf/acl.auth.php
      > chown www conf/users.auth.php
    • conf/local.phpに以下の設定を追加すればトップページにログインボタンが表示される。あとパスワードは自分で設定するようにしておく。
      $conf['useacl'] = 1;
      $conf['autopasswd'] = 0;
      $conf['superuser'] = '@admin'; //adminグループに管理権限を設定
      
    • 「ユーザー登録」で管理者となるユーザーを登録したらまた設定を追加。
      自分で「ユーザー登録」できないようにする。
      $conf['openregister'] = 0;
    • あとは管理者ユーザーでログインして、「管理」→「アクセスコントロール」で詳細なアクセスコントロールを設定する。

参考ページ

カテゴリー: 未分類 タグ:
  1. 2020 年 5 月 30 日 11:29 | #1

    Your style is unique compared to other people I’ve read stuff from. Thanks for posting when you have the opportunity, Guess I will just book mark this site.

  2. 2020 年 5 月 30 日 11:49 | #2

    Greetings! Very helpful advice within this post! It is the little changes that produce the most significant changes. Thanks for sharing!

  3. 2020 年 5 月 30 日 12:17 | #3

    This web site certainly has all of the info I needed concerning this subject and didn’t know who to ask.

  4. 2020 年 5 月 30 日 12:34 | #4

    Very good article! We are linking to this particularly great content on our website. Keep up the great writing.

  5. 2020 年 5 月 30 日 12:37 | #5

    Nice post. I learn something totally new and challenging on websites I stumbleupon on a daily basis. It’s always interesting to read articles from other writers and practice a little something from other web sites.

  6. 2020 年 5 月 30 日 12:42 | #6

    Its like you read my thoughts! You appear to know so much about this, such as you wrote the guide in it or something. I believe that you just could do with a few to force the message house a bit, however other than that, that is excellent blog. An excellent read. I’ll definitely be back.|

  7. 2020 年 5 月 30 日 12:42 | #7

    For hottest information you have to pay a quick visit the web and on web I found this web site as a most excellent web page for most recent updates.|

  8. 2020 年 5 月 30 日 13:02 | #8

    hydroxychloroquine order https://hydroxychloroquine1st.com/

  9. 2020 年 5 月 30 日 13:30 | #9

    Very nice post. I definitely appreciate this site. Keep it up!

  10. 2020 年 5 月 30 日 13:34 | #10

    This blog was… how do you say it? Relevant!! Finally I’ve found something that helped me. Thanks!

  11. 2020 年 5 月 30 日 13:44 | #11

    Having read this I believed it was very enlightening. I appreciate you taking the time and energy to put this information together. I once again find myself spending way too much time both reading and leaving comments. But so what, it was still worthwhile!

  12. 2020 年 5 月 30 日 13:45 | #12

    Everyone loves it when people get together and share thoughts. Great blog, continue the good work!

  13. 2020 年 5 月 30 日 14:07 | #13

    Can I simply say what a comfort to find a person that genuinely knows what they are talking about on the net. You certainly understand how to bring an issue to light and make it important. A lot more people have to look at this and understand this side of the story. It’s surprising you’re not more popular given that you definitely possess the gift.

  14. 2020 年 5 月 30 日 14:34 | #14

    I like it whenever people come together and share ideas. Great website, continue the good work!

  15. 2020 年 5 月 30 日 14:54 | #15

    I absolutely love your blog.. Excellent colors & theme. Did you create this web site yourself? Please reply back as I’m wanting to create my own personal website and would like to find out where you got this from or what the theme is called. Many thanks!

  16. 2020 年 5 月 30 日 15:03 | #16

    Hello there, I believe your blog could be having internet browser compatibility issues. When I look at your web site in Safari, it looks fine however, when opening in Internet Explorer, it has some overlapping issues. I just wanted to provide you with a quick heads up! Aside from that, excellent site!

  17. 2020 年 5 月 30 日 16:39 | #17

    Spot on with this write-up, I honestly feel this website needs far more attention. I’ll probably be back again to see more, thanks for the info!

  18. 2020 年 5 月 30 日 16:45 | #18

    A fascinating discussion is worth comment. I think that you should publish more about this subject matter, it may not be a taboo subject but generally people don’t discuss these topics. To the next! Best wishes!!

  19. 2020 年 5 月 30 日 16:49 | #19

    Aw, this was an exceptionally nice post. Finding the time and actual effort to make a top notch article… but what can I say… I put things off a whole lot and don’t manage to get anything done.

  20. 2020 年 5 月 30 日 17:40 | #20

    Having read this I believed it was really enlightening. I appreciate you finding the time and effort to put this content together. I once again find myself personally spending way too much time both reading and commenting. But so what, it was still worth it!

  21. 2020 年 5 月 30 日 17:43 | #21

    bookmarked!!, I really like your web site!

  22. 2020 年 5 月 30 日 17:55 | #22

    An interesting discussion is definitely worth comment. I do think that you should publish more about this subject matter, it may not be a taboo subject but usually people do not speak about such issues. To the next! Cheers!!

  23. 2020 年 5 月 30 日 18:04 | #23

    Good post. I certainly love this site. Continue the good work!

  24. 2020 年 5 月 30 日 18:35 | #24

    You’re so interesting! I do not suppose I’ve truly read something like that before. So wonderful to find somebody with some unique thoughts on this topic. Really.. many thanks for starting this up. This web site is something that’s needed on the internet, someone with some originality!

  25. 2020 年 5 月 30 日 18:53 | #25

    That is a great tip especially to those new to the blogosphere. Short but very accurate information… Thank you for sharing this one. A must read post!

  26. 2020 年 5 月 30 日 19:03 | #26

    This excellent website definitely has all of the information and facts I wanted concerning this subject and didn’t know who to ask.

  27. 2020 年 5 月 30 日 19:10 | #27

    Your style is very unique compared to other folks I’ve read stuff from. Thanks for posting when you have the opportunity, Guess I will just bookmark this site.

  28. 2020 年 5 月 30 日 19:35 | #28

    Aw, this was a very good post. Taking the time and actual effort to generate a really good article… but what can I say… I hesitate a whole lot and never manage to get anything done.

  29. 2020 年 5 月 30 日 20:41 | #29

    Next time I read a blog, Hopefully it doesn’t fail me just as much as this particular one. I mean, I know it was my choice to read through, but I genuinely thought you would probably have something useful to say. All I hear is a bunch of complaining about something that you could fix if you were not too busy searching for attention.

コメントページ
1 92 93 94 16
  1. 2020 年 4 月 16 日 08:19 | #1
  2. 2020 年 4 月 22 日 00:15 | #2
  3. 2020 年 4 月 25 日 02:02 | #3
  4. 2020 年 4 月 30 日 14:54 | #4
  5. 2020 年 5 月 9 日 04:14 | #5
  6. 2020 年 5 月 10 日 07:46 | #6