Re: data_dir does not exists - ConfigurationError
Paul Boddie <[email protected]> Mon, 31 Aug 2015 19:06:42 +0200
| Newsgroups | gmane.comp.web.wiki.moin.general |
|---|---|
| Message-ID | <[email protected]> |
On Monday 31. August 2015 18.37.24 Ryan L. Raines wrote: > Disabling SELinux resolved this issue. The clean way of dealing with this, if you still want to use SELinux, is to use semanage and restorecon to tag the files Moin uses. The following page might help: https://moinmo.in/HowTo/FedoraSELinux Something like this... semanage fcontext -a -t httpd_sys_content_t \ "/opt/installs/moin-1.9.8/share/moin/data(/.*)?" ...might be a start. I see that a slightly different "type" value is used on the wiki page mentioned above, whereas I used the above command on RHEL a while back. Then, running the following tells SELinux all about what you've done: restorecon -R -v /opt/installs/moin-1.9.8/share/moin/data And you get to see what it's tagging. Paul ------------------------------------------------------------------------------