Hi,
I'm no SELinux expert, but I think the issue is that under SELinux's
targeted policy, Apache will refuse to write to a directory with etc_t type.
It can, however, write to a directory with the httpd_log_t type, such as
/var/log/httpd. Couldn't you just write the logs to /var/log/httpd instead?
CentOS-5.1
I need some help with setting up the SELinux context for a custom httpd
directory so that I can write log files into it. This is what I have:
In my virtual host config file:
RewriteEngine on
RewriteLog /etc/httpd/virtual.d/trac-rewrite.log
# RewriteLogLevel 0=off 1=basic 2=ver
2 matches
Mail list logo