本webシステムで使っているCMSです.
本家様https://pukiwiki.osdn.jp/

SELinux

CentOS8でどうしてもSElinuxを有効にする必要が生じた。

SELINUX=disabled
  ↓
SELINUX=enforcing

と変更して、再起動を行ったら、こちらのpukiwikiページが下記のメッセージのみ表示するように
なってしまった。

Error message : 
 
Directory is not found or not writable (DATA_DIR)
Directory is not found or not writable (DIFF_DIR)
Directory is not found or not writable (BACKUP_DIR)
Directory is not found or not writable (CACHE_DIR)

原因はhttpdが書き込みをするのでそれがSELinuxの逆鱗に触れたのだろう。
っで、SELinuxに許しを請うように下記設定を(SELinuxに)加えた

[root@c ~]# yum install policycoreutils-python-utils
 
[root@c ~]# semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/pukiwiki-1.5/(attach|backup|cache|diff|wiki)(/.*)?"
 
[root@c ~]# restorecon -R /var/www/pukiwiki-1.5/
 
[root@c ~]# semanage fcontext -l | grep pukiwiki
/var/www/pukiwiki-1.5/(attach|backup|cache|diff|wiki)(/.*)? all files          system_u:object_r:httpd_sys_rw_content_t:s0
 
[root@c ~]#

これで Pukiwiki も表示ができるようになった

カスタマイズ

ほとんどメモ

ユーザ認証

pukiwiki自身でユーザ管理表を持って対応するのもあるけど、sambaで作ったADやLDAPがあるならそこでユーザ認証してもらえる
設定方法はLDAP/memberOf参照

最新の60件
2025-05-24 2025-05-22 2025-05-21 2025-05-20 2025-05-19 2025-05-18 2025-05-17 2025-05-14 2025-05-13 2025-05-12 2025-05-11 2025-05-08 2025-05-07 2025-05-06 2025-05-05 2025-05-04 2025-05-03 2025-04-27 2025-04-26 2025-04-25 2025-04-24 2025-04-17 2025-04-13 2025-04-02 2025-04-01 2025-03-31 2025-03-29 2025-03-28 2025-03-27 2025-03-26 2025-03-23 2025-03-22 2025-03-20

edit


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-07-08 (土) 01:23:24