On 4/23/23 14:50, Patrick O'Callaghan wrote:
I had a look at /var/log/httpd/error_log and found this: httpd: could not open error log file /var/www/bree.org.uk/error.log I rechecked and that file definitely exists and is writable by root (which httpd runs as). However a suspicion arose and I decided to turn off SElinux and reload.
As someone else mentioned, why are you writing logs to the web server data directory? There's a directory (/var/log/httpd) that's already intended for that. The file context is most likely going to be wrong, which is why selinux is (rightly) blocking it.
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue