Hi,

On Thu, Jul 4, 2024 at 7:36 PM Tim via users <users@lists.fedoraproject.org>
wrote:

> Tim:
> >> Why are you trying to write log files into your homespace?
>
> Alex:
> > It's a legacy system (think webalizer era), but there are also
> > multiple virtual hosts and it makes it easier to keep them segmented.
> > The document root is in /home/httpd/www.mysite.com/html.
> >
> > There's not enough space on /var to move it.
>
> Okay, I understand the space issue, but it's just as easy to keep
> virtual hosts separated in place as another, and you're not fighting
> against security settings (which should not be fought against).  But
> webalizer never needed things to be *there* on my systems.
>

This system dates back well before selinux (think LSB and FHS and LIDS)
when /home was where user files were stored, and /var/www didn't even
exist. Apache core logs are still in /var/log/httpd.

Access to the document root is managed by php-fpm. I've also checked each
directory along the way and it's accessible by apache. None of the virtual
hosts using /home work, but as I mentioned in my initial post, changing to
/var/www eliminates the issue.

> Over 30 years experience
Same. I've just had perhaps a more diverse experience with Linux than many,
instead of just doing sysadmin.

This server is also a mail router, so there's quite a bit of data on /home,
but I could probably move /home/httpd to /var/www. I'm definitely curious
what could possibly be causing this problem at this point, though.

Thanks again,
alex
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to