本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件
2026-02-18 2026-02-17 2026-02-16 2026-02-14 2026-02-11 2026-02-10 2026-02-09 2026-02-07 2026-02-06 2026-02-03 2026-02-02 2026-02-01 2026-01-31 2026-01-26 2026-01-24 2026-01-18 2026-01-17 2026-01-16 2026-01-12 2026-01-11 2026-01-10 2026-01-09 2026-01-08 2026-01-04 2026-01-01 2025-12-28 2025-12-27 2025-12-12 2025-12-11 2025-12-09 2025-12-08 2025-12-07 2025-12-05 2025-11-30 2025-11-24 2025-11-23 2025-11-18 2025-11-16

edit


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