Hi,<br><br>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? As these seem to be logs, writing them under the /var/log directory tree seems to be more appropriate.
<br><br>Alternatively, you can change the type of the directory you're writing to by using "chcon -t httpd_log_t /etc/httpd/virtual.d", but if you have other files (other than these log files) on this directory you may have other unexpected collateral effects.
<br><br>Please note that I'm no SELinux expert though.<br><br>Regards,<br>Filipe<br><br>