
Me gustaría cambiar el directorio predeterminado del servidor Apache:
# mkdir new_log
# chmod 755 -R new_log/
# chown -R apache:root new_log/
# semanage fcontext -a -t httpd_log_t "/new_log(/.*)?"
# restorecon -v -R -F /new_log
pero el servicio httpd no funciona debido al permiso denegado para escribir en este directorio.
# ls -Z
drwxr-xr-x. apache root system_u:object_r:httpd_log_t:s0 new_log